diff options
Diffstat (limited to 'include/linux/phy_led_triggers.h')
-rw-r--r-- | include/linux/phy_led_triggers.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/phy_led_triggers.h b/include/linux/phy_led_triggers.h index a2daea0a37d2..b37b05bfd1a6 100644 --- a/include/linux/phy_led_triggers.h +++ b/include/linux/phy_led_triggers.h | |||
@@ -18,11 +18,11 @@ struct phy_device; | |||
18 | #ifdef CONFIG_LED_TRIGGER_PHY | 18 | #ifdef CONFIG_LED_TRIGGER_PHY |
19 | 19 | ||
20 | #include <linux/leds.h> | 20 | #include <linux/leds.h> |
21 | #include <linux/phy.h> | ||
21 | 22 | ||
22 | #define PHY_LED_TRIGGER_SPEED_SUFFIX_SIZE 10 | 23 | #define PHY_LED_TRIGGER_SPEED_SUFFIX_SIZE 10 |
23 | #define PHY_MII_BUS_ID_SIZE (20 - 3) | ||
24 | 24 | ||
25 | #define PHY_LINK_LED_TRIGGER_NAME_SIZE (PHY_MII_BUS_ID_SIZE + \ | 25 | #define PHY_LINK_LED_TRIGGER_NAME_SIZE (MII_BUS_ID_SIZE + \ |
26 | FIELD_SIZEOF(struct mdio_device, addr)+\ | 26 | FIELD_SIZEOF(struct mdio_device, addr)+\ |
27 | PHY_LED_TRIGGER_SPEED_SUFFIX_SIZE) | 27 | PHY_LED_TRIGGER_SPEED_SUFFIX_SIZE) |
28 | 28 | ||