aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/phy.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2017-01-25 11:39:49 +0100
committerDavid S. Miller <davem@davemloft.net>2017-01-25 14:40:19 -0500
commitd6f8cfa3dea294eabf8f302e90176dd6381fb66e (patch)
tree09e9d1407667cc9558128f7b0e0992007f749fe6 /include/linux/phy.h
parentnet: phy: leds: Clear phy_num_led_triggers on failure to avoid crash (diff)
downloadlinux-dev-d6f8cfa3dea294eabf8f302e90176dd6381fb66e.tar.xz
linux-dev-d6f8cfa3dea294eabf8f302e90176dd6381fb66e.zip
net: phy: leds: Break dependency of phy.h on phy_led_triggers.h
<linux/phy.h> includes <linux/phy_led_triggers.h>, which is not really needed. Drop the include from <linux/phy.h>, and add it to all users that didn't include it explicitly. Suggested-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/phy.h')
-rw-r--r--include/linux/phy.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h
index f7d95f644eed..7fc1105605bf 100644
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
@@ -25,7 +25,6 @@
#include <linux/timer.h>
#include <linux/workqueue.h>
#include <linux/mod_devicetable.h>
-#include <linux/phy_led_triggers.h>
#include <linux/atomic.h>