]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: leds: Break dependency of phy.h on phy_led_triggers.h
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 25 Jan 2017 10:39:49 +0000 (11:39 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Jan 2017 19:40:19 +0000 (14:40 -0500)
commit0415ded4dd0fa1f506b7e7b6c1771ee4f25a4e46
tree09e9d1407667cc9558128f7b0e0992007f749fe6
parent397ac4932468f3081dc742a827c8667d284828a8
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>
drivers/net/phy/phy.c
drivers/net/phy/phy_led_triggers.c
include/linux/phy.h