summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-06-05 13:40:35 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-06-05 13:40:35 +0000
commit36c99bcc428f99177480b556f20110baae7c96a7 (patch)
treeaec93ff557a9f4a0717faf0f40d483d8ce76501f
parenta4d96aae8d53e2dca3964d123e80d70c1fdffa7e (diff)
downloadmtk-20170518-36c99bcc428f99177480b556f20110baae7c96a7.zip
mtk-20170518-36c99bcc428f99177480b556f20110baae7c96a7.tar.gz
mtk-20170518-36c99bcc428f99177480b556f20110baae7c96a7.tar.bz2
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. SVN-Revision: 32058
-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 ce51713..41ceaf7 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);