From dcf5cd5fc2fb73b8aa46afda5fef7ded9727b418 Mon Sep 17 00:00:00 2001 From: nbd Date: Wed, 14 Dec 2011 20:21:36 +0000 Subject: ath9k: add support for registering extra leds connected to the wmac gpio lines git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29530 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/generic/files/include/linux/ath9k_platform.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'target/linux') diff --git a/target/linux/generic/files/include/linux/ath9k_platform.h b/target/linux/generic/files/include/linux/ath9k_platform.h index 6e3f54f37..b37d23d83 100644 --- a/target/linux/generic/files/include/linux/ath9k_platform.h +++ b/target/linux/generic/files/include/linux/ath9k_platform.h @@ -32,6 +32,9 @@ struct ath9k_platform_data { bool is_clk_25mhz; int (*get_mac_revision)(void); int (*external_reset)(void); + + int num_leds; + const struct gpio_led *leds; }; #endif /* _LINUX_ATH9K_PLATFORM_H */ -- cgit v1.2.3