* [PATCH net-next v2 1/1] nfc: mrvl: Don't use "proxy" headers
@ 2025-01-16 15:30 Andy Shevchenko
2025-01-19 1:50 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Andy Shevchenko @ 2025-01-16 15:30 UTC (permalink / raw)
To: Krzysztof Kozlowski, Andy Shevchenko, netdev, linux-kernel
Cc: Krzysztof Kozlowski
Update header inclusions to follow IWYU (Include What You Use)
principle.
In this case replace of_gpio.h, which is subject to remove by the GPIOLIB
subsystem, with the respective headers that are being used by the driver.
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
v2: added tag (Krzysztof), elaborated what's done in the commit message (Jakub)
drivers/nfc/nfcmrvl/uart.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/drivers/nfc/nfcmrvl/uart.c b/drivers/nfc/nfcmrvl/uart.c
index 956ae92f7573..2037cd6d4f4f 100644
--- a/drivers/nfc/nfcmrvl/uart.c
+++ b/drivers/nfc/nfcmrvl/uart.c
@@ -5,11 +5,16 @@
* Copyright (C) 2015, Marvell International Ltd.
*/
-#include <linux/module.h>
#include <linux/delay.h>
-#include <linux/of_gpio.h>
+#include <linux/device.h>
+#include <linux/err.h>
+#include <linux/module.h>
+#include <linux/of.h>
+#include <linux/printk.h>
+
#include <net/nfc/nci.h>
#include <net/nfc/nci_core.h>
+
#include "nfcmrvl.h"
static unsigned int hci_muxed;
--
2.43.0.rc1.1336.g36b5255a03ac
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH net-next v2 1/1] nfc: mrvl: Don't use "proxy" headers
2025-01-16 15:30 [PATCH net-next v2 1/1] nfc: mrvl: Don't use "proxy" headers Andy Shevchenko
@ 2025-01-19 1:50 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-01-19 1:50 UTC (permalink / raw)
To: Andy Shevchenko; +Cc: krzysztof.kozlowski, netdev, linux-kernel, krzk
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Thu, 16 Jan 2025 17:30:37 +0200 you wrote:
> Update header inclusions to follow IWYU (Include What You Use)
> principle.
>
> In this case replace of_gpio.h, which is subject to remove by the GPIOLIB
> subsystem, with the respective headers that are being used by the driver.
>
> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
>
> [...]
Here is the summary with links:
- [net-next,v2,1/1] nfc: mrvl: Don't use "proxy" headers
https://git.kernel.org/netdev/net-next/c/a26892ee1297
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-01-19 1:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-16 15:30 [PATCH net-next v2 1/1] nfc: mrvl: Don't use "proxy" headers Andy Shevchenko
2025-01-19 1:50 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome