Browse Source

compile and register SPI controller device

SVN-Revision: 14789
Florian Fainelli 17 years ago
parent
commit
bf7f2939c2

+ 1 - 0
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/

+ 2 - 0
target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c

@@ -27,6 +27,7 @@
 #include <bcm63xx_dev_pcmcia.h>
 #include <bcm63xx_dev_usb_ohci.h>
 #include <bcm63xx_dev_usb_ehci.h>
+#include <bcm63xx_dev_spi.h>
 #include <board_bcm963xx.h>
 
 #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();