From: Shuah Khan Date: Sun, 10 Aug 2014 00:47:10 +0000 (-0300) Subject: [media] au0828: remove CONFIG_VIDEO_AU0828_RC scope around au0828_rc_*() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=92143f6fb0d6655391b1b42f54ab94d3f16c00ac;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [media] au0828: remove CONFIG_VIDEO_AU0828_RC scope around au0828_rc_*() Remove CONFIG_VIDEO_AU0828_RC scope around au0828_rc_register() and au0828_rc_unregister() calls in au0828-core Signed-off-by: Shuah Khan Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/usb/au0828/au0828-core.c b/drivers/media/usb/au0828/au0828-core.c index 56025e689442..b08b979bb9a7 100644 --- a/drivers/media/usb/au0828/au0828-core.c +++ b/drivers/media/usb/au0828/au0828-core.c @@ -153,9 +153,7 @@ static void au0828_usb_disconnect(struct usb_interface *interface) dprintk(1, "%s()\n", __func__); -#ifdef CONFIG_VIDEO_AU0828_RC au0828_rc_unregister(dev); -#endif /* Digital TV */ au0828_dvb_unregister(dev); @@ -266,10 +264,8 @@ static int au0828_usb_probe(struct usb_interface *interface, pr_err("%s() au0282_dev_register failed\n", __func__); -#ifdef CONFIG_VIDEO_AU0828_RC /* Remote controller */ au0828_rc_register(dev); -#endif /* * Store the pointer to the au0828_dev so it can be accessed in