summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-06-05 13:40:35 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-06-05 13:40:35 +0000
commita6691cb6b1c9689a951ff85c31234a6fcaba6bc6 (patch)
treecf23951ffeed59064107d1c504939e884c31a91b
parent466d98bf88c18b2c324d7150a21ec9f3d91cf17f (diff)
[brcm63xx] fix bisectability of patch 303-spi-board-info.patch
It uses spi_register_board_info() from linux/spi/spi.h but does not include it explicitely. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32058 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/brcm63xx/patches-3.3/303-spi-board-info.patch10
1 files changed, 9 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/patches-3.3/303-spi-board-info.patch b/target/linux/brcm63xx/patches-3.3/303-spi-board-info.patch
index ce5171386a..41ceaf7234 100644
--- a/target/linux/brcm63xx/patches-3.3/303-spi-board-info.patch
+++ b/target/linux/brcm63xx/patches-3.3/303-spi-board-info.patch
@@ -1,6 +1,14 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -933,6 +933,9 @@ int __init board_register_devices(void)
+@@ -17,6 +17,7 @@
+ #include <linux/ssb/ssb.h>
+ #include <linux/gpio_keys.h>
+ #include <linux/input.h>
++#include <linux/spi/spi.h>
+ #include <asm/addrspace.h>
+ #include <bcm63xx_board.h>
+ #include <bcm63xx_cpu.h>
+@@ -933,6 +934,9 @@ int __init board_register_devices(void)
if (board.num_devs)
platform_add_devices(board.devs, board.num_devs);