brcm2708: update 4.1 patches
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-4.1 / 0068-BCM270x_DT-Add-mailbox-bcm2708-vcio.patch
1 From ff16594cfebb06205fc70fd8d14de57acae92502 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
3 Date: Fri, 1 May 2015 23:00:15 +0200
4 Subject: [PATCH 068/171] BCM270x_DT: Add mailbox bcm2708-vcio
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Add bcm2708-vcio to Device Tree and don't add the
10 platform device when booting in DT mode.
11
12 Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
13 ---
14 arch/arm/mach-bcm2708/bcm2708.c | 2 +-
15 arch/arm/mach-bcm2709/bcm2709.c | 2 +-
16 2 files changed, 2 insertions(+), 2 deletions(-)
17
18 --- a/arch/arm/mach-bcm2708/bcm2708.c
19 +++ b/arch/arm/mach-bcm2708/bcm2708.c
20 @@ -870,7 +870,7 @@ void __init bcm2708_init(void)
21 bcm2708_dt_init();
22
23 bcm_register_device_dt(&bcm2708_dmaengine_device);
24 - bcm_register_device(&bcm2708_vcio_device);
25 + bcm_register_device_dt(&bcm2708_vcio_device);
26 bcm_register_device_dt(&bcm2708_vchiq_device);
27 #ifdef CONFIG_BCM2708_GPIO
28 bcm_register_device_dt(&bcm2708_gpio_device);
29 --- a/arch/arm/mach-bcm2709/bcm2709.c
30 +++ b/arch/arm/mach-bcm2709/bcm2709.c
31 @@ -890,7 +890,7 @@ void __init bcm2709_init(void)
32 bcm2709_dt_init();
33
34 bcm_register_device_dt(&bcm2708_dmaengine_device);
35 - bcm_register_device(&bcm2708_vcio_device);
36 + bcm_register_device_dt(&bcm2708_vcio_device);
37 bcm_register_device_dt(&bcm2708_vchiq_device);
38 #ifdef CONFIG_BCM2708_GPIO
39 bcm_register_device_dt(&bcm2708_gpio_device);