projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
516b29e
)
net: phy: Fix sfp.c build against GPIO definitions
author
Florian Fainelli
<f.fainelli@gmail.com>
Tue, 31 Oct 2017 04:42:58 +0000
(21:42 -0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 1 Nov 2017 12:15:09 +0000
(21:15 +0900)
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
patch
|
blob
|
history
diff --git
a/drivers/net/phy/sfp.c
b/drivers/net/phy/sfp.c
index 448465da04226b3b0dd47d3c933c322a771e8f0a..e381811e5f1143f35432e6624e80c00b13f0b56e 100644
(file)
--- a/
drivers/net/phy/sfp.c
+++ b/
drivers/net/phy/sfp.c
@@
-1,5
+1,5
@@
#include <linux/delay.h>
-#include <linux/gpio.h>
+#include <linux/gpio
/consumer
.h>
#include <linux/i2c.h>
#include <linux/interrupt.h>
#include <linux/jiffies.h>