OSDN Git Service

[media] siano: avoid a linkedit error if !MC
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 2 Mar 2015 17:17:01 +0000 (14:17 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 2 Mar 2015 17:17:01 +0000 (14:17 -0300)
commitf704eab5b6beff878fc68dca800a4979ec97a15c
tree2f15164d0cef0f7140e9addd4bd4ee651dfa696f
parent89a2c1d60aa2cfcf4c9f194b4c923d72182be431
[media] siano: avoid a linkedit error if !MC

If the media controller (MC) is not enabled, it will compile
fine, but will fail at the linkedition:

 ERROR: "media_device_unregister" [drivers/media/usb/siano/smsusb.ko] undefined!

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/siano/smsusb.c