brcm2708: update 4.1 patches
[openwrt.git] / target / linux / brcm2708 / patches-4.1 / 0143-Fix-RASPBERRYPI_FIRMWARE-dependents.patch
1 From 3817be453657d116131317525915d3e378d46fdc Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
3 Date: Fri, 24 Jul 2015 19:33:16 +0200
4 Subject: [PATCH 143/148] Fix RASPBERRYPI_FIRMWARE dependents
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 If forgot this when converting the drivers.
10
11 Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
12 ---
13  drivers/cpufreq/Kconfig.arm        | 2 +-
14  drivers/input/touchscreen/Kconfig  | 2 +-
15  drivers/misc/vc04_services/Kconfig | 2 +-
16  drivers/thermal/Kconfig            | 2 +-
17  drivers/video/fbdev/Kconfig        | 2 +-
18  5 files changed, 5 insertions(+), 5 deletions(-)
19
20 --- a/drivers/cpufreq/Kconfig.arm
21 +++ b/drivers/cpufreq/Kconfig.arm
22 @@ -259,7 +259,7 @@ config ARM_SPEAR_CPUFREQ
23           This adds the CPUFreq driver support for SPEAr SOCs.
24  
25  config ARM_BCM2835_CPUFREQ
26 -       depends on BCM2708_MBOX
27 +       depends on RASPBERRYPI_FIRMWARE
28         bool "BCM2835 Driver"
29         default y
30         help
31 --- a/drivers/input/touchscreen/Kconfig
32 +++ b/drivers/input/touchscreen/Kconfig
33 @@ -585,7 +585,7 @@ config TOUCHSCREEN_EDT_FT5X06
34  
35  config TOUCHSCREEN_RPI_FT5406
36         tristate "Raspberry Pi FT5406 driver"
37 -       depends on ARCH_BCM2708 || ARCH_BCM2709
38 +       depends on RASPBERRYPI_FIRMWARE
39         help
40           Say Y here to enable the Raspberry Pi memory based FT5406 device
41  
42 --- a/drivers/misc/vc04_services/Kconfig
43 +++ b/drivers/misc/vc04_services/Kconfig
44 @@ -1,6 +1,6 @@
45  config BCM2708_VCHIQ
46         tristate "Videocore VCHIQ"
47 -       depends on (MACH_BCM2708 || MACH_BCM2709 || ARCH_BCM2835) && BCM2708_MBOX
48 +       depends on RASPBERRYPI_FIRMWARE
49         default y
50         help
51                 Kernel to VideoCore communication interface for the
52 --- a/drivers/thermal/Kconfig
53 +++ b/drivers/thermal/Kconfig
54 @@ -239,7 +239,7 @@ config INTEL_POWERCLAMP
55           user interface is exposed via generic thermal framework.
56  
57  config THERMAL_BCM2835
58 -       depends on BCM2708_MBOX
59 +       depends on RASPBERRYPI_FIRMWARE
60         tristate "BCM2835 Thermal Driver"
61         help
62           This will enable temperature monitoring for the Broadcom BCM2835
63 --- a/drivers/video/fbdev/Kconfig
64 +++ b/drivers/video/fbdev/Kconfig
65 @@ -226,7 +226,7 @@ comment "Frame buffer hardware drivers"
66  
67  config FB_BCM2708
68         tristate "BCM2708 framebuffer support"
69 -       depends on FB && ARM && BCM2708_MBOX
70 +       depends on FB && RASPBERRYPI_FIRMWARE
71         select FB_CFB_FILLRECT
72         select FB_CFB_COPYAREA
73         select FB_CFB_IMAGEBLIT