From 54a2fc628a4aa172c62c34ef466b31c2c2e8ce9c Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Mon, 30 Oct 2017 21:42:58 -0700 Subject: [PATCH] net: phy: Fix sfp.c build against GPIO definitions include/gpio.h does not contain the references we want, we should be including linux/gpio/consumer.h instead. Fixes: 73970055450e ("sfp: add SFP module support") Signed-off-by: Florian Fainelli Signed-off-by: David S. Miller --- drivers/net/phy/sfp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/phy/sfp.c b/drivers/net/phy/sfp.c index 448465da0422..e381811e5f11 100644 --- a/drivers/net/phy/sfp.c +++ b/drivers/net/phy/sfp.c @@ -1,5 +1,5 @@ #include -#include +#include #include #include #include -- 2.20.1