]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/3.16.3/media-sms-remove-config_-prefix-from-kconfig-symbols.patch
4.9-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 3.16.3 / media-sms-remove-config_-prefix-from-kconfig-symbols.patch
1 From 3c4b422adb7694418848cefc2a4669d63192c649 Mon Sep 17 00:00:00 2001
2 From: Paul Bolle <pebolle@tiscali.nl>
3 Date: Wed, 16 Apr 2014 12:47:43 -0300
4 Subject: media: sms: Remove CONFIG_ prefix from Kconfig symbols
5
6 From: Paul Bolle <pebolle@tiscali.nl>
7
8 commit 3c4b422adb7694418848cefc2a4669d63192c649 upstream.
9
10 X-Patchwork-Delegate: mchehab@redhat.com
11 Remove the CONFIG_ prefix from two Kconfig symbols in a dependency for
12 SMS_SIANO_DEBUGFS. This prefix is invalid inside Kconfig files.
13
14 Note that the current (common sense) dependency on SMS_USB_DRV and
15 SMS_SDIO_DRV being equal ensures that SMS_SIANO_DEBUGFS will not
16 violate its constraints. These constraint are that:
17 - it should only be built if SMS_USB_DRV is set;
18 - it can't be builtin if USB support is modular.
19
20 So drop the dependency on SMS_USB_DRV, as it is unneeded.
21
22 Fixes: 6c84b214284e ("[media] sms: fix randconfig building error")
23
24 Reported-by: Martin Walch <walch.martin@web.de>
25 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
26 Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
27 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
28
29 ---
30 drivers/media/common/siano/Kconfig | 3 +--
31 1 file changed, 1 insertion(+), 2 deletions(-)
32
33 --- a/drivers/media/common/siano/Kconfig
34 +++ b/drivers/media/common/siano/Kconfig
35 @@ -22,8 +22,7 @@ config SMS_SIANO_DEBUGFS
36 bool "Enable debugfs for smsdvb"
37 depends on SMS_SIANO_MDTV
38 depends on DEBUG_FS
39 - depends on SMS_USB_DRV
40 - depends on CONFIG_SMS_USB_DRV = CONFIG_SMS_SDIO_DRV
41 + depends on SMS_USB_DRV = SMS_SDIO_DRV
42
43 ---help---
44 Choose Y to enable visualizing a dump of the frontend