summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-2.6.33/200-extended-platform-devices.patch
diff options
context:
space:
mode:
authorRaphaël Huck <rhk@cksum.org>2010-04-29 12:51:41 +0000
committerRaphaël Huck <rhk@cksum.org>2010-04-29 12:51:41 +0000
commitccfe1f7886159660b0f015f904f152e70121f8fb (patch)
tree64930b57e904c22d769e03e13aa1ffb88940f64c /target/linux/brcm63xx/patches-2.6.33/200-extended-platform-devices.patch
parentb29ef93886b74d380b826ea0ac86393aa01632cd (diff)
downloadmaster-31e0f0ae-ccfe1f7886159660b0f015f904f152e70121f8fb.tar.gz
master-31e0f0ae-ccfe1f7886159660b0f015f904f152e70121f8fb.tar.bz2
master-31e0f0ae-ccfe1f7886159660b0f015f904f152e70121f8fb.zip
add WPS button support for nb4 boards
SVN-Revision: 21254
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.33/200-extended-platform-devices.patch')
-rw-r--r--target/linux/brcm63xx/patches-2.6.33/200-extended-platform-devices.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.33/200-extended-platform-devices.patch b/target/linux/brcm63xx/patches-2.6.33/200-extended-platform-devices.patch
index 170b55916d..aec85a3d17 100644
--- a/target/linux/brcm63xx/patches-2.6.33/200-extended-platform-devices.patch
+++ b/target/linux/brcm63xx/patches-2.6.33/200-extended-platform-devices.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -995,6 +995,10 @@ int __init board_register_devices(void)
+@@ -1000,6 +1000,10 @@ int __init board_register_devices(void)
platform_device_register(&bcm63xx_gpio_buttons_device);
}
@@ -16,7 +16,7 @@
@@ -59,6 +59,10 @@ struct board_info {
/* Reset button */
- struct gpio_button reset_buttons[1];
+ struct gpio_button reset_buttons[2];
+
+ /* Additional platform devices */
+ struct platform_device **devs;