]> git.dujemihanovic.xyz Git - linux.git/commitdiff
net: ethernet: adi: adin1110: Replace linux/gpio.h by proper one
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 8 May 2024 11:45:19 +0000 (14:45 +0300)
committerJakub Kicinski <kuba@kernel.org>
Sat, 11 May 2024 01:51:34 +0000 (18:51 -0700)
linux/gpio.h is deprecated and subject to remove.
The driver doesn't use it directly, replace it
with what is really being used.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240508114519.972082-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/adi/adin1110.c

index 8b4ef5121308224b500a8cb7bdc41acd70072d41..0713f1e2c7f38b5194e186ee6c5bdb21bf0a66b4 100644 (file)
 #include <linux/crc8.h>
 #include <linux/etherdevice.h>
 #include <linux/ethtool.h>
+#include <linux/gpio/consumer.h>
 #include <linux/if_bridge.h>
 #include <linux/interrupt.h>
 #include <linux/iopoll.h>
-#include <linux/gpio.h>
 #include <linux/kernel.h>
 #include <linux/mii.h>
 #include <linux/module.h>