[media] media-device: move PCI/USB helper functions from v4l2-mc
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 22 Feb 2016 14:42:04 +0000 (11:42 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 23 Feb 2016 10:18:45 +0000 (07:18 -0300)
commit41b44e35ba9b34e50a65c05ecf7642c07bd3e8aa
tree32743771d16d1b18d305600dc66d0f4828fecbde
parent2ddf22eec4b88ab0d4235a140db8243eaaab5128
[media] media-device: move PCI/USB helper functions from v4l2-mc

Those ancillary functions could be called even when compiled
without V4L2 support, as warned by ktest build robot:

All errors (new ones prefixed by >>):

>> ERROR: "__v4l2_mc_usb_media_device_init" [drivers/media/usb/dvb-usb/dvb-usb.ko] undefined!
>> ERROR: "__v4l2_mc_usb_media_device_init" [drivers/media/usb/dvb-usb-v2/dvb_usb_v2.ko] undefined!
>> ERROR: "__v4l2_mc_usb_media_device_init" [drivers/media/usb/au0828/au0828.ko] undefined!

Also, there's nothing there that are specific to V4L2. So, move
those ancillary functions to MC core.

No functional changes. Just function rename.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/media-device.c
drivers/media/pci/saa7134/saa7134-core.c
drivers/media/usb/au0828/au0828-core.c
drivers/media/usb/cx231xx/cx231xx-cards.c
drivers/media/usb/dvb-usb-v2/dvb_usb_core.c
drivers/media/usb/dvb-usb/dvb-usb-dvb.c
drivers/media/usb/em28xx/em28xx-cards.c
drivers/media/usb/siano/smsusb.c
drivers/media/v4l2-core/v4l2-mc.c
include/media/media-device.h
include/media/v4l2-mc.h
This page took 0.034846 seconds and 5 git commands to generate.