bcm63xx: remove bcm_tag usage in kernel
[openwrt.git] / target / linux / brcm63xx / patches-3.3 / 010-MIPS-BCM63XX-make-board-setup-code-register-the-spi-.patch
1 From fab0cbda27ab2400d6a461bf144007a0d5337527 Mon Sep 17 00:00:00 2001
2 From: Florian Fainelli <florian@openwrt.org>
3 Date: Wed, 25 Jan 2012 17:40:05 +0100
4 Subject: [PATCH 12/63] MIPS: BCM63XX: make board setup code register the spi platform device
5
6 Signed-off-by: Florian Fainelli <florian@openwrt.org>
7 ---
8  arch/mips/bcm63xx/boards/board_bcm963xx.c |    3 +++
9  1 files changed, 3 insertions(+), 0 deletions(-)
10
11 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
12 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
13 @@ -25,6 +25,7 @@
14  #include <bcm63xx_dev_enet.h>
15  #include <bcm63xx_dev_dsp.h>
16  #include <bcm63xx_dev_pcmcia.h>
17 +#include <bcm63xx_dev_spi.h>
18  #include <board_bcm963xx.h>
19  
20  #define PFX    "board_bcm963xx: "
21 @@ -890,6 +891,8 @@ int __init board_register_devices(void)
22         }
23  #endif
24  
25 +       bcm63xx_spi_register();
26 +
27         /* read base address of boot chip select (0) */
28         val = bcm_mpi_readl(MPI_CSBASE_REG(0));
29         val &= MPI_CSBASE_BASE_MASK;