diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2023-05-29 19:32:41 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-05-31 11:42:09 +0300 |
commit | 947acacab5ea151291b861cdfbde16ff5cf1b08c (patch) | |
tree | d2f67e7f1d80e36124cd1abf991061a141ee695d /drivers/leds | |
parent | 0316cc5629d15880dd3f097d221c55ca648bcd61 (diff) | |
download | linux-947acacab5ea151291b861cdfbde16ff5cf1b08c.tar.xz |
leds: trigger: netdev: expose netdev trigger modes in linux include
Expose netdev trigger modes to make them accessible by LED driver that
will support netdev trigger for hw control.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/leds')
-rw-r--r-- | drivers/leds/trigger/ledtrig-netdev.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/leds/trigger/ledtrig-netdev.c b/drivers/leds/trigger/ledtrig-netdev.c index e8bb9d0f85c0..b0a6f2749552 100644 --- a/drivers/leds/trigger/ledtrig-netdev.c +++ b/drivers/leds/trigger/ledtrig-netdev.c @@ -56,15 +56,6 @@ struct led_netdev_data { bool hw_control; }; -enum led_trigger_netdev_modes { - TRIGGER_NETDEV_LINK = 0, - TRIGGER_NETDEV_TX, - TRIGGER_NETDEV_RX, - - /* Keep last */ - __TRIGGER_NETDEV_MAX, -}; - static void set_baseline_state(struct led_netdev_data *trigger_data) { int current_brightness; |