alistair23-linux/drivers/media/usb/dvb-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
..
a800.c [media] dvb-usb: print small buffers via %*ph 2012-10-06 12:25:49 -03:00
af9005-fe.c
af9005-remote.c
af9005-script.h
af9005.c [media] af9005: fix kernel panic on init if compiled without IR 2014-10-30 16:57:19 -02:00
af9005.h
az6027.c [media] az6027: Added the PID for a new revision of the Elgato EyeTV Sat DVB-S Tuner 2014-05-25 15:49:35 -03:00
az6027.h
cinergyT2-core.c [media] dvb-usb: print small buffers via %*ph 2012-10-06 12:25:49 -03:00
cinergyT2-fe.c [media] dvb-usb: Remove redundant NULL check before kfree 2013-03-18 17:05:17 -03:00
cinergyT2.h
cxusb.c [media] cxusb: remove TechnoTrend CT2-4400 and CT2-4650 devices 2014-12-04 13:30:29 -02:00
cxusb.h [media] cxusb: remove TechnoTrend CT2-4400 and CT2-4650 devices 2014-12-04 13:30:29 -02:00
dib07x0.h
dib0700.h [media] dib0700: fix RC support on Hauppauge Nova-TD 2014-05-25 17:44:19 -03:00
dib0700_core.c [media] rc-core: document the protocol type 2014-07-23 21:50:48 -03:00
dib0700_devices.c [media] dib0700_devices: Use c99 initializers for structures. 2014-09-22 19:00:28 -03:00
dibusb-common.c [media] dibusb: fix sparse warnings 2014-09-03 09:23:31 -03:00
dibusb-mb.c
dibusb-mc.c
dibusb.h [media] Fix typo in comments 2014-07-26 15:09:47 -03:00
digitv.c [media] dvb-usb: print small buffers via %*ph 2012-10-06 12:25:49 -03:00
digitv.h
dtt200u-fe.c
dtt200u.c [media] dvb-usb: print small buffers via %*ph 2012-10-06 12:25:49 -03:00
dtt200u.h
dtv5100.c
dtv5100.h
dvb-usb-common.h
dvb-usb-dvb.c
dvb-usb-firmware.c
dvb-usb-i2c.c
dvb-usb-init.c [media] dvb-usb: fix indentation of a for loop 2012-12-27 16:26:13 -02:00
dvb-usb-remote.c [media] rc-core: remove protocol arrays 2014-07-25 19:10:43 -03:00
dvb-usb-urb.c
dvb-usb.h [media] rc-core: add separate defines for protocol bitmaps and numbers 2012-10-27 11:49:51 -02:00
dw2102.c [media] dw2102: fix sparse warnings 2014-09-03 09:31:31 -03:00
dw2102.h
friio-fe.c [media] dvb-usb/friio-fe: Replace memcpy with struct assignment 2012-12-27 18:48:52 -02:00
friio.c
friio.h
gp8psk-fe.c
gp8psk.c
gp8psk.h
Kconfig [media] cxusb: remove TechnoTrend CT2-4400 and CT2-4650 devices 2014-12-04 13:30:29 -02:00
m920x.c [media] rc-core: document the protocol type 2014-07-23 21:50:48 -03:00
m920x.h
Makefile [media] Fix some Makefile rules 2012-08-16 19:55:03 -03:00
nova-t-usb2.c
opera1.c [media] opera1: fix sparse warnings 2014-09-03 09:32:15 -03:00
pctv452e.c [media] pctv452e: fix sparse warnings 2014-09-03 09:32:42 -03:00
technisat-usb2.c [media] stv090x: remove export symbol for stv090x_set_gpio() 2014-12-04 13:52:45 -02:00
ttusb2.c [media] rc-core: document the protocol type 2014-07-23 21:50:48 -03:00
ttusb2.h
umt-010.c
usb-urb.c
vp702x-fe.c
vp702x.c [media] vp702x: get rid of warning: no previous prototype 2012-10-27 18:14:14 -02:00
vp702x.h
vp7045-fe.c
vp7045.c
vp7045.h