OpenCloudOS-Kernel/drivers/media/usb
Mauro Carvalho Chehab a2ea556117 [media] stv090x: remove export symbol for stv090x_set_gpio()
Drivers that use dvb_attach can have just one exported symbol,
or they will cause compilation breakages depending on the
selected frontends.

As Jim reported:
drivers/built-in.o: In function `technisat_usb2_set_voltage':
technisat-usb2.c:(.text+0x3b4919): undefined reference to `stv090x_set_gpio'
make: *** [vmlinux] Error 1

That happens because, on his configuration, the configuration
is:

	CONFIG_DVB_USB=y
	CONFIG_DVB_STV090x=m

Luis proposed ar way to fix, but that would just force the
STV090x to be selected, even if one wants to use a device
with a different frontend.

Instead, let's do the right thing: move set_gpio to the
configuration structure and fill it during dvb_attach().

This way, the driver can still call it, and dvb_attach()
will load stv090x module only if the device really needs it.

Reported by: Jim Davis <jim.epost@gmail.com>

Cc: Luis Rodriguez <mcgrof@suse.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2014-12-04 13:52:45 -02:00
..
airspy [media] airspy: enhance sample rate debug calculation precision 2014-09-21 16:42:33 -03:00
as102 [media] as102: fix endiannes casts 2014-09-26 06:47:52 -03:00
au0828 [media] media/au0828: Fix IR stop, poll to not access device during disconnect 2014-11-25 13:32:49 -02:00
b2c2 [media] drivers: media: usb: b2c2: use usb_*_coherent() instead of pci_*_consistent() in flexcop-usb.c 2013-10-17 11:26:41 -03:00
cpia2 [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
cx231xx [media] usb: Make use of media_bus_format enum 2014-11-14 17:54:28 -02:00
dvb-usb [media] stv090x: remove export symbol for stv090x_set_gpio() 2014-12-04 13:52:45 -02:00
dvb-usb-v2 [media] dvb-usb-dvbsky: add TechnoTrend CT2-4400 and CT2-4650 devices support 2014-12-04 13:30:50 -02:00
em28xx [media] USB: Deletion of unnecessary checks before three function calls 2014-11-25 13:31:52 -02:00
go7007 [media] usb: Make use of media_bus_format enum 2014-11-14 17:54:28 -02:00
gspca media updates for v3.18-rc1 2014-10-10 22:04:49 -04:00
hackrf [media] hackrf: harmless off by one in debug code 2014-10-21 08:56:52 -02:00
hdpvr [media] hdpvr: reduce memory footprint when debugging 2014-09-23 16:13:36 -03:00
msi2500 [media] msi2500: remove unneeded spinlock irq flags initialization 2014-09-21 16:42:35 -03:00
pvrusb2 [media] USB: Deletion of unnecessary checks before three function calls 2014-11-25 13:31:52 -02:00
pwc [media] pwc: fix sparse warning 2014-09-03 09:55:43 -03:00
s2255 [media] USB: Deletion of unnecessary checks before three function calls 2014-11-25 13:31:52 -02:00
siano [media] usb drivers: use %zu instead of %zd 2014-09-26 06:51:00 -03:00
stk1160 [media] stk1160: fix sparse warning 2014-11-05 09:08:38 -02:00
stkwebcam [media] v4l: Support extending the v4l2_pix_format structure 2014-07-17 12:44:47 -03:00
tlg2300 [media] v4l: Support extending the v4l2_pix_format structure 2014-07-17 12:44:47 -03:00
tm6000 [media] rc-core: rename dev->scanmask to dev->scancode_mask 2014-07-25 19:10:43 -03:00
ttusb-budget media: use pci_zalloc_consistent 2014-08-08 15:57:28 -07:00
ttusb-dec [media] ttusb-dec: buffer overflow in ioctl 2014-09-23 16:13:37 -03:00
usbtv [media] Media: USB: usbtv: Fixed all coding style issues in usbtv source files 2014-09-23 16:13:44 -03:00
usbvision [media] media/usb,pci: fix querycap 2014-12-02 11:30:34 -02:00
uvc [media] uvcvideo: Return all buffers to vb2 at stream stop and start failure 2014-11-25 08:42:33 -02:00
zr364xx [media] v4l: Support extending the v4l2_pix_format structure 2014-07-17 12:44:47 -03:00
Kconfig [media] hackrf: HackRF SDR driver 2014-09-21 20:32:37 -03:00
Makefile [media] hackrf: HackRF SDR driver 2014-09-21 20:32:37 -03:00