Skip to contentSkip to conversation

bcma: Add explicit of_device.h include

PATCH In review Rob Herring 2 participants 2 messages Apr 10, 2023 – Apr 14, 2023 Broadcom specific amba driver (bcma)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bcma: Add explicit of_device.h include

bcma/main.c uses of_dma_configure() which is declared in of_device.h. of_device.h gets implicitly included by of_platform.h, but that is going to be removed soon.

---
 drivers/bcma/main.c | 1 +
 1 file changed, 1 insertion(+)
drivers/bcma/main.c +1 -0
index 7b39f010bbb3..136fd7e5358a 100644
@@ -14,6 +14,7 @@
 #include <linux/slab.h>
 #include <linux/of_address.h>
 #include <linux/of_irq.h>
+#include <linux/of_device.h>
 #include <linux/of_platform.h>
 
 MODULE_DESCRIPTION("Broadcom's specific AMBA driver");
Signature · 1 line
2.39.2
#1 lore raw
Quoted 5 lines · Rob Herring

bcma/main.c uses of_dma_configure() which is declared in of_device.h. of_device.h gets implicitly included by of_platform.h, but that is going to be removed soon.

Patch applied to wireless-next.git, thanks.

666f4ab26c2c bcma: Add explicit of_device.h include

Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches