From: Florian Fainelli Date: Sun, 8 Mar 2009 12:18:26 +0000 (+0000) Subject: compile and register SPI controller device X-Git-Tag: reboot~24273 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bf7f2939c26e7a495d077eb9aa26ebaedf892f7a;p=oweals%2Fopenwrt.git compile and register SPI controller device SVN-Revision: 14789 --- diff --git a/target/linux/brcm63xx/files/arch/mips/bcm63xx/Makefile b/target/linux/brcm63xx/files/arch/mips/bcm63xx/Makefile index 4f2423c929..c1363895a1 100644 --- a/target/linux/brcm63xx/files/arch/mips/bcm63xx/Makefile +++ b/target/linux/brcm63xx/files/arch/mips/bcm63xx/Makefile @@ -5,6 +5,7 @@ obj-y += dev-usb-ohci.o obj-y += dev-usb-ehci.o obj-y += dev-enet.o obj-y += dev-wdt.o +obj-y += dev-spi.o obj-$(CONFIG_EARLY_PRINTK) += early_printk.o obj-y += boards/ diff --git a/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c b/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c index 4323ee2f67..56da94b8c2 100644 --- a/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c @@ -27,6 +27,7 @@ #include #include #include +#include #include #define PFX "board_bcm963xx: " @@ -482,6 +483,7 @@ int __init board_register_devices(void) bcm63xx_uart_register(); bcm63xx_wdt_register(); + bcm63xx_spi_register(); if (board.has_pccard) bcm63xx_pcmcia_register();