brcm2708: add linux 4.19 support
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-4.19 / 950-0477-staging-bcm2835-audio-Enable-compile-test.patch
1 From 54b8fc1b2213a73f56a5ca9e098f420014f3c073 Mon Sep 17 00:00:00 2001
2 From: Stefan Wahren <stefan.wahren@i2se.com>
3 Date: Thu, 6 Dec 2018 19:28:56 +0100
4 Subject: [PATCH 477/703] staging: bcm2835-audio: Enable compile test
5
6 commit 458d4866a34d0c129ffc3bd56345b2166ba46d77 upstream.
7
8 Enable the compilation test for bcm2835-audio to gain more build coverage.
9
10 Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
11 Reviewed-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
12 Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
13 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
14 ---
15 drivers/staging/vc04_services/bcm2835-audio/Kconfig | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18 --- a/drivers/staging/vc04_services/bcm2835-audio/Kconfig
19 +++ b/drivers/staging/vc04_services/bcm2835-audio/Kconfig
20 @@ -1,6 +1,6 @@
21 config SND_BCM2835
22 tristate "BCM2835 Audio"
23 - depends on ARCH_BCM2835 && SND
24 + depends on (ARCH_BCM2835 || COMPILE_TEST) && SND
25 select SND_PCM
26 select BCM2835_VCHIQ
27 help