aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-12-14 20:21:36 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-12-14 20:21:36 +0000
commite3017bc05e316ade69484923c2ea9c26cdc4802e (patch)
tree5fdd51f4e96b7cdbc7509abfc9bf95fbeaaa4d87 /target/linux/generic/files
parentd2717d3d474fd42194c7ce56d133773dba656ee8 (diff)
downloadupstream-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/files')
-rw-r--r--target/linux/generic/files/include/linux/ath9k_platform.h3
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 */