summaryrefslogtreecommitdiff
path: root/target
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
parentd2717d3d474fd42194c7ce56d133773dba656ee8 (diff)
downloadmtk-20170518-e3017bc05e316ade69484923c2ea9c26cdc4802e.zip
mtk-20170518-e3017bc05e316ade69484923c2ea9c26cdc4802e.tar.gz
mtk-20170518-e3017bc05e316ade69484923c2ea9c26cdc4802e.tar.bz2
ath9k: add support for registering extra leds connected to the wmac gpio lines
SVN-Revision: 29530
Diffstat (limited to 'target')
-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 6e3f54f..b37d23d 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 */