net: smc91x: Replace of_gpio.h with what indeed is used
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 16 Mar 2023 12:04:19 +0000 (14:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Mar 2023 10:40:04 +0000 (10:40 +0000)
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>
drivers/net/ethernet/smsc/smc91x.c

index 35e99bf0c40153da155327b322c5c45bade71c6f..032eccf8eb428ee5fe1198f7c45b5e1b1fb79cc7 100644 (file)
@@ -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>