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
commitaf0dd984dcc066567676d80719ca28c942a32ed4 (patch)
treee8861827dee614023d0c117fe7015853042d7f49 /target/linux/generic/files
parent74dbf6c823cae0a6643aa8fdfe079198adf20161 (diff)
downloadupstream-af0dd984dcc066567676d80719ca28c942a32ed4.tar.gz
upstream-af0dd984dcc066567676d80719ca28c942a32ed4.tar.bz2
upstream-af0dd984dcc066567676d80719ca28c942a32ed4.zip
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
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 */