net: phy: Fix sfp.c build against GPIO definitions
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 31 Oct 2017 04:42:58 +0000 (21:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Nov 2017 12:15:09 +0000 (21:15 +0900)
commit54a2fc628a4aa172c62c34ef466b31c2c2e8ce9c
tree1fa8a2fa2b53047c296cea7e0978a95363fb558d
parent516b29edc3b3324016ffe90d661463b9ed5ec473
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 <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/sfp.c