mac80211: ath9k: enable GPIO buttons
Enable platform-defined GPIO button support for ath9k device. Key poller is activated for attached platform buttons. Requires ath9k GPIO chip access. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> SVN-Revision: 48921
This commit is contained in:
@@ -46,6 +46,10 @@ struct ath9k_platform_data {
|
||||
int num_leds;
|
||||
const struct gpio_led *leds;
|
||||
const char *led_name;
|
||||
|
||||
unsigned num_btns;
|
||||
const struct gpio_keys_button *btns;
|
||||
unsigned btn_poll_interval;
|
||||
};
|
||||
|
||||
#endif /* _LINUX_ATH9K_PLATFORM_H */
|
||||
|
||||
Reference in New Issue
Block a user