[brcm63xx] fix bisectability of patch 303-spi-board-info.patch
authorFlorian Fainelli <florian@openwrt.org>
Tue, 5 Jun 2012 13:40:35 +0000 (13:40 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 5 Jun 2012 13:40:35 +0000 (13:40 +0000)
It uses spi_register_board_info() from linux/spi/spi.h but does not include it
explicitely.

SVN-Revision: 32058

target/linux/brcm63xx/patches-3.3/303-spi-board-info.patch

index ce51713..41ceaf7 100644 (file)
@@ -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);