summaryrefslogtreecommitdiff
path: root/drivers/net/phy/aquantia/Makefile
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2024-06-01 01:35:03 +0200
committerDavid S. Miller <davem@davemloft.net>2024-06-05 10:21:31 +0100
commit61578f67937881abf54c8bd258eb913312dbe4c1 (patch)
treec88558c8a6823f3e7f56d56f421c650816a1eed5 /drivers/net/phy/aquantia/Makefile
parentc11d5dbbe73fa7b450aaa77bb18df86a9714b422 (diff)
net: phy: aquantia: add support for PHY LEDs
Aquantia Ethernet PHYs got 3 LED output pins which are typically used to indicate link status and activity. Add a minimal LED controller driver supporting the most common uses with the 'netdev' trigger as well as software-driven forced control of the LEDs. Signed-off-by: Daniel Golle <daniel@makrotopia.org> [ rework indentation, fix checkpatch error and improve some functions ] 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/net/phy/aquantia/Makefile')
-rw-r--r--drivers/net/phy/aquantia/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/aquantia/Makefile b/drivers/net/phy/aquantia/Makefile
index aa77fb63c8ec..c6c4d494ee2a 100644
--- a/drivers/net/phy/aquantia/Makefile
+++ b/drivers/net/phy/aquantia/Makefile
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
-aquantia-objs += aquantia_main.o aquantia_firmware.o
+aquantia-objs += aquantia_main.o aquantia_firmware.o aquantia_leds.o
ifdef CONFIG_HWMON
aquantia-objs += aquantia_hwmon.o
endif