diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-08-05 09:09:37 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-08-05 09:09:37 +0000 |
commit | 7438a0ec3e30f58659764b15055e5b03cb84917b (patch) | |
tree | 8d5c240ead798f24e38e16389aab4b068d65713b /target | |
parent | 829ffa6bd807db46617855170d91544611fad865 (diff) | |
download | upstream-7438a0ec3e30f58659764b15055e5b03cb84917b.tar.gz upstream-7438a0ec3e30f58659764b15055e5b03cb84917b.tar.bz2 upstream-7438a0ec3e30f58659764b15055e5b03cb84917b.zip |
ar71xx: ubnt unifi outdoor register gpio button
This patch register the gpio buttons for the Ubiquiti UniFi Outdoor.
Signed-off-by: Rocco Folino <lordzen@autistici.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37695 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ar71xx/patches-3.10/608-MIPS-ath79-ubnt-xm-add-more-boards.patch | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/ar71xx/patches-3.10/608-MIPS-ath79-ubnt-xm-add-more-boards.patch b/target/linux/ar71xx/patches-3.10/608-MIPS-ath79-ubnt-xm-add-more-boards.patch index 2e8fbdc93f..d8d48f58e0 100644 --- a/target/linux/ar71xx/patches-3.10/608-MIPS-ath79-ubnt-xm-add-more-boards.patch +++ b/target/linux/ar71xx/patches-3.10/608-MIPS-ath79-ubnt-xm-add-more-boards.patch @@ -62,7 +62,7 @@ ath79_register_leds_gpio(-1, ARRAY_SIZE(ubnt_xm_leds_gpio), ubnt_xm_leds_gpio); -@@ -79,9 +89,242 @@ static void __init ubnt_xm_init(void) +@@ -79,9 +89,246 @@ static void __init ubnt_xm_init(void) ath79_register_m25p80(NULL); ap91_pci_init(eeprom, NULL); @@ -212,6 +212,10 @@ + + ath79_register_leds_gpio(-1, ARRAY_SIZE(ubnt_unifi_outdoor_leds_gpio), + ubnt_unifi_outdoor_leds_gpio); ++ ++ ath79_register_gpio_keys_polled(-1, UBNT_XM_KEYS_POLL_INTERVAL, ++ ARRAY_SIZE(ubnt_xm_gpio_keys), ++ ubnt_xm_gpio_keys); +} + +MIPS_MACHINE(ATH79_MACH_UBNT_UNIFI_OUTDOOR, "UBNT-U20", |