* [PATCH] bcma: Add explicit of_device.h include
@ 2023-04-10 23:27 Rob Herring
2023-04-14 12:33 ` Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: Rob Herring @ 2023-04-10 23:27 UTC (permalink / raw)
To: Rafał Miłecki; +Cc: linux-wireless, linux-kernel
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(+)
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");
--
2.39.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] bcma: Add explicit of_device.h include
2023-04-10 23:27 [PATCH] bcma: Add explicit of_device.h include Rob Herring
@ 2023-04-14 12:33 ` Kalle Valo
0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2023-04-14 12:33 UTC (permalink / raw)
To: Rob Herring; +Cc: Rafał Miłecki, linux-wireless, linux-kernel
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
--
https://patchwork.kernel.org/project/linux-wireless/patch/20230410232701.1561613-1-robh@kernel.org/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-04-14 12:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-10 23:27 [PATCH] bcma: Add explicit of_device.h include Rob Herring
2023-04-14 12:33 ` Kalle Valo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).