Skip to content

Commit ad53028

Browse files
andy-shevkuba-moo
authored andcommitted
drivers: net: xgene: Don't use "proxy" headers
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> Link: https://patch.msgid.link/20250224120037.3801609-1-andriy.shevchenko@linux.intel.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 8fb2d12 commit ad53028

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.c

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,14 @@
66
* Keyur Chudgar <kchudgar@apm.com>
77
*/
88

9-
#include <linux/of_gpio.h>
10-
#include <linux/gpio.h>
9+
#include <linux/acpi.h>
10+
#include <linux/clk.h>
11+
#include <linux/err.h>
12+
#include <linux/gpio/consumer.h>
13+
#include <linux/io.h>
14+
#include <linux/types.h>
15+
#include <linux/workqueue.h>
16+
1117
#include "xgene_enet_main.h"
1218
#include "xgene_enet_hw.h"
1319
#include "xgene_enet_xgmac.h"

0 commit comments

Comments
 (0)