From: Florian Fainelli Date: Tue, 31 Oct 2017 04:42:58 +0000 (-0700) Subject: net: phy: Fix sfp.c build against GPIO definitions X-Git-Tag: v4.15-rc1~84^2~203^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=54a2fc628a4aa172c62c34ef466b31c2c2e8ce9c;p=uclinux-h8%2Flinux.git 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 --- 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