Commit 92143f6f authored by Shuah Khan's avatar Shuah Khan Committed by Mauro Carvalho Chehab

[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: default avatarShuah Khan <shuah.kh@samsung.com>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent 917cbcde
...@@ -153,9 +153,7 @@ static void au0828_usb_disconnect(struct usb_interface *interface) ...@@ -153,9 +153,7 @@ static void au0828_usb_disconnect(struct usb_interface *interface)
dprintk(1, "%s()\n", __func__); dprintk(1, "%s()\n", __func__);
#ifdef CONFIG_VIDEO_AU0828_RC
au0828_rc_unregister(dev); au0828_rc_unregister(dev);
#endif
/* Digital TV */ /* Digital TV */
au0828_dvb_unregister(dev); au0828_dvb_unregister(dev);
...@@ -266,10 +264,8 @@ static int au0828_usb_probe(struct usb_interface *interface, ...@@ -266,10 +264,8 @@ static int au0828_usb_probe(struct usb_interface *interface,
pr_err("%s() au0282_dev_register failed\n", pr_err("%s() au0282_dev_register failed\n",
__func__); __func__);
#ifdef CONFIG_VIDEO_AU0828_RC
/* Remote controller */ /* Remote controller */
au0828_rc_register(dev); au0828_rc_register(dev);
#endif
/* /*
* Store the pointer to the au0828_dev so it can be accessed in * Store the pointer to the au0828_dev so it can be accessed in
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment