aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-06-18 21:34:02 (GMT)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-06-18 21:34:40 (GMT)
commit027cf164d8f3a80c2127cc92e4620e04e883e829 (patch)
tree92afce958a3bc6812457b24937e1a23e156b321a
parent61891e24706322835582f8b6b184be9adbf78427 (diff)
au0828: fix the check for the media controllerold/cs_027cf164d8f3
drivers/media/usb/au0828/au0828-cards.c: In function 'au0828_card_analog_fe_setup': >> drivers/media/usb/au0828/au0828-cards.c:231:5: warning: "CONFIG_MEDIA_CONTROLLER" is not defined [-Wundef] #if CONFIG_MEDIA_CONTROLLER Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
-rw-r--r--drivers/media/usb/au0828/au0828-cards.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/au0828/au0828-cards.c b/drivers/media/usb/au0828/au0828-cards.c
index f7337db..ca861ae 100644
--- a/drivers/media/usb/au0828/au0828-cards.c
+++ b/drivers/media/usb/au0828/au0828-cards.c
@@ -228,7 +228,7 @@ void au0828_card_analog_fe_setup(struct au0828_dev *dev)
"au8522", 0x8e >> 1, NULL);
if (sd == NULL)
pr_err("analog subdev registration failed\n");
-#if CONFIG_MEDIA_CONTROLLER
+#ifdef CONFIG_MEDIA_CONTROLLER
if (sd)
dev->decoder = &sd->entity;
#endif

Privacy Policy