#include <linux/leds.h>
#include <linux/phy.h>
#include <linux/phy_led_triggers.h>
#include <linux/netdevice.h>
static struct phy_led_trigger *phy_speed_to_led_trigger(struct phy_device *phy,
unsigned int speed)
{ … }
static void phy_led_trigger_no_link(struct phy_device *phy)
{ … }
void phy_led_trigger_change_speed(struct phy_device *phy)
{ … }
EXPORT_SYMBOL_GPL(…);
static void phy_led_trigger_format_name(struct phy_device *phy, char *buf,
size_t size, const char *suffix)
{ … }
static int phy_led_trigger_register(struct phy_device *phy,
struct phy_led_trigger *plt,
unsigned int speed,
const char *suffix)
{ … }
static void phy_led_trigger_unregister(struct phy_led_trigger *plt)
{ … }
int phy_led_triggers_register(struct phy_device *phy)
{ … }
EXPORT_SYMBOL_GPL(…);
void phy_led_triggers_unregister(struct phy_device *phy)
{ … }
EXPORT_SYMBOL_GPL(…);