summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-2.6.35/240-spi.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-10-17 14:09:04 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-10-17 14:09:04 +0000
commit1e6479e887b39abc0e7ec719cb94ce9efb4a27dd (patch)
treeef2de782d4c2198e0441cfd6a4573f4e3ab7e3d6 /target/linux/brcm63xx/patches-2.6.35/240-spi.patch
parent063d17004c1271da8f7661955e9d0f7d787105d0 (diff)
[brcm63xx] refresh patches
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23502 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 800b22811..835c0df2b 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();