summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-09-07 18:17:45 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-09-07 18:17:45 +0000
commit8ceff55a08952bd5bdcdfa0590e9b6500514db7d (patch)
tree4777194690acf2861593540d65af3670842cdfb8 /target
parentf32f0814b156336ef5a0e7ce406e6591a90c113a (diff)
downloadmtk-20170518-8ceff55a08952bd5bdcdfa0590e9b6500514db7d.zip
mtk-20170518-8ceff55a08952bd5bdcdfa0590e9b6500514db7d.tar.gz
mtk-20170518-8ceff55a08952bd5bdcdfa0590e9b6500514db7d.tar.bz2
fix typos against the gpio buttons driver (#5804)
SVN-Revision: 17538
Diffstat (limited to 'target')
-rw-r--r--target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c b/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c
index 0a8ecbd..b049776 100644
--- a/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -15,6 +15,7 @@
#include <linux/mtd/partitions.h>
#include <linux/mtd/physmap.h>
#include <linux/ssb/ssb.h>
+#include <linux/gpio_buttons.h>
#include <asm/addrspace.h>
#include <bcm63xx_board.h>
#include <bcm63xx_cpu.h>
@@ -881,9 +882,9 @@ int __init board_register_devices(void)
platform_device_register(&bcm63xx_gpio_leds);
bcm63xx_gpio_buttons_data.nbuttons = 1,
- bcm63xx_gpio_buttons_data.buttons = board.reset_btm;
+ bcm63xx_gpio_buttons_data.buttons = board.reset_btn;
- platform_device_register(&bcm63xx_gpio_buttons);
+ platform_device_register(&bcm63xx_gpio_buttons_device);
return 0;
}