The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=9c2f321630894b40c1ec51ece881c7c765d6d749
commit 9c2f321630894b40c1ec51ece881c7c765d6d749 Author: Bjoern A. Zeeb <[email protected]> AuthorDate: 2025-12-06 10:21:31 +0000 Commit: Bjoern A. Zeeb <[email protected]> CommitDate: 2025-12-06 10:21:31 +0000 ath11k: start making compile some more There is more work to do to make this compile again but we will do that when we get to the driver. For now just take the most noise out of it. --- sys/contrib/dev/athk/ath11k/core.h | 2 ++ sys/contrib/dev/athk/ath11k/coredump.h | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/sys/contrib/dev/athk/ath11k/core.h b/sys/contrib/dev/athk/ath11k/core.h index 03eaacf3cb5f..9825bce61b1e 100644 --- a/sys/contrib/dev/athk/ath11k/core.h +++ b/sys/contrib/dev/athk/ath11k/core.h @@ -1350,7 +1350,9 @@ static inline void ath11k_core_create_firmware_path(struct ath11k_base *ab, { const char *fw_name = NULL; +#if defined(CONFIG_OF) of_property_read_string(ab->dev->of_node, "firmware-name", &fw_name); +#endif if (fw_name && strncmp(filename, "board", 5)) snprintf(buf, buf_len, "%s/%s/%s/%s", ATH11K_FW_DIR, diff --git a/sys/contrib/dev/athk/ath11k/coredump.h b/sys/contrib/dev/athk/ath11k/coredump.h index 3960d9385261..871388dc42b0 100644 --- a/sys/contrib/dev/athk/ath11k/coredump.h +++ b/sys/contrib/dev/athk/ath11k/coredump.h @@ -6,6 +6,10 @@ #ifndef _ATH11K_COREDUMP_H_ #define _ATH11K_COREDUMP_H_ +#if defined(__FreeBSD__) +#include <linux/uuid.h> +#endif + #define ATH11K_FW_CRASH_DUMP_V2 2 enum ath11k_fw_crash_dump_type {
