diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-12-14 20:21:36 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-12-14 20:21:36 +0000 |
commit | e3017bc05e316ade69484923c2ea9c26cdc4802e (patch) | |
tree | 5fdd51f4e96b7cdbc7509abfc9bf95fbeaaa4d87 /target/linux/generic | |
parent | d2717d3d474fd42194c7ce56d133773dba656ee8 (diff) | |
download | upstream-e3017bc05e316ade69484923c2ea9c26cdc4802e.tar.gz upstream-e3017bc05e316ade69484923c2ea9c26cdc4802e.tar.bz2 upstream-e3017bc05e316ade69484923c2ea9c26cdc4802e.zip |
ath9k: add support for registering extra leds connected to the wmac gpio lines
SVN-Revision: 29530
Diffstat (limited to 'target/linux/generic')
-rw-r--r-- | target/linux/generic/files/include/linux/ath9k_platform.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/generic/files/include/linux/ath9k_platform.h b/target/linux/generic/files/include/linux/ath9k_platform.h index 6e3f54f378..b37d23d834 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 */ |