Skip to content

Commit a593a2f

Browse files
andy-shevdavem330
authored andcommitted
net: phy: at803x: Replace of_gpio.h with what indeed is used
of_gpio.h in this driver is solely used as a proxy to other headers. This is incorrect usage of the of_gpio.h. Replace it .h with what indeed is used in the code. Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent c0e906a commit a593a2f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/net/phy/at803x.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,11 @@
1313
#include <linux/netdevice.h>
1414
#include <linux/etherdevice.h>
1515
#include <linux/ethtool_netlink.h>
16-
#include <linux/of_gpio.h>
1716
#include <linux/bitfield.h>
18-
#include <linux/gpio/consumer.h>
1917
#include <linux/regulator/of_regulator.h>
2018
#include <linux/regulator/driver.h>
2119
#include <linux/regulator/consumer.h>
20+
#include <linux/of.h>
2221
#include <linux/phylink.h>
2322
#include <linux/sfp.h>
2423
#include <dt-bindings/net/qca-ar803x.h>

0 commit comments

Comments
 (0)