diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-03-16 15:04:19 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-03-19 13:40:04 +0300 |
commit | c0e906a953f03c56d8029b0207195ee202fd646d (patch) | |
tree | 4195ba0128b35e394d5b03cfbbdc15b135444cd7 /drivers/net | |
parent | b31587feaa0133b19a1900a26bce07a3c6d21af6 (diff) | |
download | linux-c0e906a953f03c56d8029b0207195ee202fd646d.tar.xz |
net: smc91x: 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 <andriy.shevchenko@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/smsc/smc91x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/smsc/smc91x.c b/drivers/net/ethernet/smsc/smc91x.c index 35e99bf0c401..032eccf8eb42 100644 --- a/drivers/net/ethernet/smsc/smc91x.c +++ b/drivers/net/ethernet/smsc/smc91x.c @@ -57,6 +57,7 @@ static const char version[] = #include <linux/kernel.h> #include <linux/sched.h> #include <linux/delay.h> +#include <linux/gpio/consumer.h> #include <linux/interrupt.h> #include <linux/irq.h> #include <linux/errno.h> @@ -69,7 +70,6 @@ static const char version[] = #include <linux/workqueue.h> #include <linux/of.h> #include <linux/of_device.h> -#include <linux/of_gpio.h> #include <linux/netdevice.h> #include <linux/etherdevice.h> |