aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-2.6.35/240-spi.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-10-17 14:09:04 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-10-17 14:09:04 +0000
commit265bf2ccb02510d077bc446c26babd757dab3620 (patch)
treece4ebe3c3726471ec19374928b699f449d20f28a /target/linux/brcm63xx/patches-2.6.35/240-spi.patch
parent9f4c51acb78a623c76e0d46816ac3eb94cbf8823 (diff)
downloadupstream-265bf2ccb02510d077bc446c26babd757dab3620.tar.gz
upstream-265bf2ccb02510d077bc446c26babd757dab3620.tar.bz2
upstream-265bf2ccb02510d077bc446c26babd757dab3620.zip
refresh patches
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com> SVN-Revision: 23502
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.35/240-spi.patch')
-rw-r--r--target/linux/brcm63xx/patches-2.6.35/240-spi.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.35/240-spi.patch b/target/linux/brcm63xx/patches-2.6.35/240-spi.patch
index 800b228116..835c0df2bc 100644
--- a/target/linux/brcm63xx/patches-2.6.35/240-spi.patch
+++ b/target/linux/brcm63xx/patches-2.6.35/240-spi.patch
@@ -936,7 +936,7 @@
obj-y += boards/
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -31,6 +31,7 @@
+@@ -33,6 +33,7 @@
#include <bcm63xx_dev_usb_ohci.h>
#include <bcm63xx_dev_usb_ehci.h>
#include <bcm63xx_dev_usb_udc.h>
@@ -944,9 +944,9 @@
#include <board_bcm963xx.h>
#define PFX "board_bcm963xx: "
-@@ -1557,6 +1558,9 @@ int __init board_register_devices(void)
- if (board.has_udc0)
- bcm63xx_udc_register();
+@@ -1596,6 +1597,9 @@ int __init board_register_devices(void)
+ if (board.num_spis)
+ spi_register_board_info(board.spis, board.num_spis);
+ if (!BCMCPU_IS_6345())
+ bcm63xx_spi_register();