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
This commit is contained in:
Felix Fietkau
2011-12-14 20:21:36 +00:00
parent 74dbf6c823
commit af0dd984dc
3 changed files with 329 additions and 0 deletions

View File

@@ -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 */