From bf7f2939c26e7a495d077eb9aa26ebaedf892f7a Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sun, 8 Mar 2009 12:18:26 +0000 Subject: [PATCH] compile and register SPI controller device SVN-Revision: 14789 --- target/linux/brcm63xx/files/arch/mips/bcm63xx/Makefile | 1 + .../brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c | 2 ++ 2 files changed, 3 insertions(+) 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();