summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2024-05-08 14:45:19 +0300
committerJakub Kicinski <kuba@kernel.org>2024-05-10 18:51:34 -0700
commit84c8b7ad5e748c0b93415b060c7071f8c524f4f5 (patch)
treefa3ebb2e64f7cb888f8746e61f34c9c901a7cfd8
parent04fb71cc5f1866f391a9c21ea634217e065ae525 (diff)
downloadlinux-stable-84c8b7ad5e748c0b93415b060c7071f8c524f4f5.tar.gz
linux-stable-84c8b7ad5e748c0b93415b060c7071f8c524f4f5.tar.bz2
linux-stable-84c8b7ad5e748c0b93415b060c7071f8c524f4f5.zip
net: ethernet: adi: adin1110: Replace linux/gpio.h by proper one
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>
-rw-r--r--drivers/net/ethernet/adi/adin1110.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/adi/adin1110.c b/drivers/net/ethernet/adi/adin1110.c
index 8b4ef5121308..0713f1e2c7f3 100644
--- a/drivers/net/ethernet/adi/adin1110.c
+++ b/drivers/net/ethernet/adi/adin1110.c
@@ -11,10 +11,10 @@
#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>