2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 07:34:06 +08:00
linux-next/drivers/media
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
..
common [media] siano: unnecessary check before rc_unregister_device() 2014-11-25 13:44:34 -02:00
dvb-core [media] cxusb: Geniatech T230 support 2014-11-25 09:15:54 -02:00
dvb-frontends [media] stv090x: remove export symbol for stv090x_set_gpio() 2014-12-04 13:52:45 -02:00
firewire [media] firewire: Deletion of an unnecessary check before the function call "dvb_unregister_device" 2014-11-25 13:30:31 -02:00
i2c [media] smiapp: Support V4L2_SEL_TGT_NATIVE_SIZE 2014-12-04 12:39:35 -02:00
mmc [media] siano: get rid of CammelCase from smscoreapi.h 2013-03-21 10:03:16 -03:00
parport [media] pms: Fix a bad usage of the stack 2014-09-26 06:47:55 -03:00
pci [media] media/usb,pci: fix querycap 2014-12-02 11:30:34 -02:00
platform [media] media: exynos-gsc: fix build warning 2014-12-04 12:50:44 -02:00
radio [media] media/radio: fix querycap 2014-12-02 11:30:55 -02:00
rc [media] media: rc: add driver for Amlogic Meson IR remote receiver 2014-11-26 13:29:01 -02:00
tuners [media] si2157: Si2148 support 2014-11-25 09:14:14 -02:00
usb [media] stv090x: remove export symbol for stv090x_set_gpio() 2014-12-04 13:52:45 -02:00
v4l2-core [media] v4l: vb2: Fix race condition in _vb2_fop_release 2014-12-04 12:41:51 -02:00
Kconfig [media] Kconfig: do not select SPI bus on sub-driver auto-select 2014-09-04 12:18:49 -03:00
Makefile [media] move i2c files into drivers/media/i2c 2012-09-06 18:42:54 -03:00
media-device.c [media] media: Use strlcpy instead of custom code 2014-09-21 20:27:08 -03:00
media-devnode.c [media] media-devnode: just return 0 instead of using a var 2014-09-03 17:59:28 -03:00
media-entity.c [media] media: Fix a compiler warning in media_entity_pipeline_start() 2014-11-03 19:09:13 -02:00