diff mbox series

bcma: Add explicit of_device.h include

Message ID 20230410232701.1561613-1-robh@kernel.org (mailing list archive)
State Accepted
Commit 666f4ab26c2c7c5e1aa963dc5d8623df1b015d06
Delegated to: Kalle Valo
Headers show
Series bcma: Add explicit of_device.h include | expand

Commit Message

Rob Herring (Arm) April 10, 2023, 11:27 p.m. UTC
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.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 drivers/bcma/main.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Kalle Valo April 14, 2023, 12:33 p.m. UTC | #1
Rob Herring <robh@kernel.org> wrote:

> 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.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>

Patch applied to wireless-next.git, thanks.

666f4ab26c2c bcma: Add explicit of_device.h include
diff mbox series

Patch

diff --git a/drivers/bcma/main.c b/drivers/bcma/main.c
index 7b39f010bbb3..136fd7e5358a 100644
--- a/drivers/bcma/main.c
+++ b/drivers/bcma/main.c
@@ -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");