brcm63xx: add pinctrl support
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-4.4 / 390-MIPS-BCM63XX-do-not-register-SPI-controllers.patch
1 From 39d2882058345b5994680b8731848a0343878019 Mon Sep 17 00:00:00 2001
2 From: Jonas Gorski <jonas.gorski@gmail.com>
3 Date: Sat, 4 Feb 2017 12:58:50 +0100
4 Subject: [PATCH 7/8] MIPS: BCM63XX: do not register SPI controllers
5
6 We now register them through DT, so no need to keep them here.
7
8 Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
9 ---
10 arch/mips/bcm63xx/boards/board_bcm963xx.c | 7 -------
11 1 file changed, 7 deletions(-)
12
13 --- a/arch/mips/bcm63xx/boards/board_common.c
14 +++ b/arch/mips/bcm63xx/boards/board_common.c
15 @@ -29,9 +29,7 @@
16 #include <bcm63xx_dev_enet.h>
17 #include <bcm63xx_dev_dsp.h>
18 #include <bcm63xx_dev_flash.h>
19 -#include <bcm63xx_dev_hsspi.h>
20 #include <bcm63xx_dev_pcmcia.h>
21 -#include <bcm63xx_dev_spi.h>
22 #include <bcm63xx_dev_usb_ehci.h>
23 #include <bcm63xx_dev_usb_ohci.h>
24 #include <bcm63xx_dev_usb_usbd.h>
25 @@ -241,10 +239,6 @@ int __init board_register_devices(void)
26 bcm63xx_register_fallback_sprom(&board.fallback_sprom)))
27 pr_err(PFX "failed to register fallback SPROM\n");
28
29 - bcm63xx_spi_register();
30 -
31 - bcm63xx_hsspi_register();
32 -
33 if (board.num_spis)
34 spi_register_board_info(board.spis, board.num_spis);
35