[PATCH] au0828: fix the check for the media controller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  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@xxxxxxxxx>
Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxxxx>

diff --git a/drivers/media/usb/au0828/au0828-cards.c b/drivers/media/usb/au0828/au0828-cards.c
index f7337dbbc59f..ca861aea68a5 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
-- 
2.4.3

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux