* [PATCH net-next v1 1/1] drivers: net: xgene: Don't use "proxy" headers
@ 2025-02-24 12:00 Andy Shevchenko
2025-02-26 3:10 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Andy Shevchenko @ 2025-02-24 12:00 UTC (permalink / raw)
To: Andy Shevchenko, netdev, linux-kernel
Cc: Iyappan Subramanian, Keyur Chudgar, Quan Nguyen, Andrew Lunn,
David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni
Update header inclusions to follow IWYU (Include What You Use)
principle.
In this case replace *gpio.h, which are subject to remove by the GPIOLIB
subsystem, with the respective headers that are being used by the driver.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.c b/drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.c
index 86607b79c09f..cc3b1631c905 100644
--- a/drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.c
+++ b/drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.c
@@ -6,8 +6,14 @@
* Keyur Chudgar <kchudgar@apm.com>
*/
-#include <linux/of_gpio.h>
-#include <linux/gpio.h>
+#include <linux/acpi.h>
+#include <linux/clk.h>
+#include <linux/err.h>
+#include <linux/gpio/consumer.h>
+#include <linux/io.h>
+#include <linux/types.h>
+#include <linux/workqueue.h>
+
#include "xgene_enet_main.h"
#include "xgene_enet_hw.h"
#include "xgene_enet_xgmac.h"
--
2.45.1.3035.g276e886db78b
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next v1 1/1] drivers: net: xgene: Don't use "proxy" headers
2025-02-24 12:00 [PATCH net-next v1 1/1] drivers: net: xgene: Don't use "proxy" headers Andy Shevchenko
@ 2025-02-26 3:10 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-02-26 3:10 UTC (permalink / raw)
To: Andy Shevchenko
Cc: netdev, linux-kernel, iyappan, keyur, quan, andrew+netdev, davem,
edumazet, kuba, pabeni
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Mon, 24 Feb 2025 14:00:37 +0200 you wrote:
> Update header inclusions to follow IWYU (Include What You Use)
> principle.
>
> In this case replace *gpio.h, which are subject to remove by the GPIOLIB
> subsystem, with the respective headers that are being used by the driver.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
>
> [...]
Here is the summary with links:
- [net-next,v1,1/1] drivers: net: xgene: Don't use "proxy" headers
https://git.kernel.org/netdev/net-next/c/ad530283d3c8
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-02-26 3:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-24 12:00 [PATCH net-next v1 1/1] drivers: net: xgene: Don't use "proxy" headers Andy Shevchenko
2025-02-26 3:10 ` 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