aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2025-12-06 10:21:31 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2025-12-06 10:21:31 +0000
commit9c2f321630894b40c1ec51ece881c7c765d6d749 (patch)
tree680d357edbad6c393d8323bcac078192196a60d5
parentc95ea407b322379bcb3c013a2dca9a18072c1df8 (diff)
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.
-rw-r--r--sys/contrib/dev/athk/ath11k/core.h2
-rw-r--r--sys/contrib/dev/athk/ath11k/coredump.h4
2 files changed, 6 insertions, 0 deletions
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 {