.dev.platform_data = &bcm63xx_led_data,
};
+struct gpio_buttons_platform_data bcm63xx_gpio_buttons_data = {
+ .poll_interval = 20,
+};
+
+struct platform_device bcm63xx_gpio_buttons_device = {
+ .name = "gpio-buttons",
+ .id = 0,
+ .dev.platform_data = &bcm63xx_gpio_buttons_data,
+};
+
+
/*
* third stage init callback, register all board devices.
*/
platform_device_register(&bcm63xx_gpio_leds);
+ bcm63xx_gpio_buttons_data.nbuttons = 1,
+ bcm63xx_gpio_buttons_data.buttons = board.reset_btm;
+
+ platform_device_register(&bcm63xx_gpio_buttons);
+
return 0;
}
PACKAGES:=kmod-b43 kmod-usb-core kmod-usb-ohci kmod-usb-storage \
kmod-fs-ext2 kmod-nls-cp437 kmod-nls-iso8859-1 kmod-fs-vfat \
kmod-loop e2fsprogs kmod-spi-bitbang kmod-bcm63xx-spi \
- kmod-ipt-nathelper-extra \
+ kmod-ipt-nathelper-extra kmod-input-gpio-buttons \
wpa-supplicant iw
endef