linux-mips
[Top] [All Lists]

[PATCH 8/8 v2] MIPS: BCM63XX: make board setup code register the spi pla

To: ralf@linux-mips.org
Subject: [PATCH 8/8 v2] MIPS: BCM63XX: make board setup code register the spi platform device
From: Florian Fainelli <florian@openwrt.org>
Date: Mon, 21 Nov 2011 17:07:23 +0100
Cc: linux-mips@linux-mips.org, Florian Fainelli <florian@openwrt.org>
In-reply-to: <1321891643-4119-1-git-send-email-florian@openwrt.org>
References: <1321891643-4119-1-git-send-email-florian@openwrt.org>
Sender: linux-mips-bounce@linux-mips.org
Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
No changes since v1

 arch/mips/bcm63xx/boards/board_bcm963xx.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/mips/bcm63xx/boards/board_bcm963xx.c 
b/arch/mips/bcm63xx/boards/board_bcm963xx.c
index e62461f..4f5f66f 100644
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -25,6 +25,7 @@
 #include <bcm63xx_dev_enet.h>
 #include <bcm63xx_dev_dsp.h>
 #include <bcm63xx_dev_pcmcia.h>
+#include <bcm63xx_dev_spi.h>
 #include <board_bcm963xx.h>
 
 #define PFX    "board_bcm963xx: "
@@ -887,6 +888,8 @@ int __init board_register_devices(void)
        }
 #endif
 
+       bcm63xx_spi_register();
+
        /* read base address of boot chip select (0) */
        val = bcm_mpi_readl(MPI_CSBASE_REG(0));
        val &= MPI_CSBASE_BASE_MASK;
-- 
1.7.5.4


<Prev in Thread] Current Thread [Next in Thread>