linux/drivers/media/pci
Arnd Bergmann d259f91c0e media: solo6x10: hide unused variable
When building without CONFIG_GPIOLIB, we get a harmless
warning about an unused variable:

drivers/media/pci/solo6x10/solo6x10-gpio.c: In function 'solo_gpio_init':
drivers/media/pci/solo6x10/solo6x10-gpio.c:165:6: error: unused variable 'ret' [-Werror=unused-variable]

This adds another #ifdef around the declaration.

Fixes: d3202d1981 ("media: solo6x10: export hardware GPIO pins 8:31 to gpiolib interface")

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
Acked-by: Anton Sviridenko <anton@corp.bluecherry.net>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-12-08 10:04:57 -05:00
..
b2c2 media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
bt8xx media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
cobalt media: cobalt: do not register subdev nodes 2017-09-23 14:58:22 -04:00
cx18 media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
cx88 media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
cx23885 media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
cx25821 media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
ddbridge media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
dm1105 media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
dt3155 media: pci: make video_device const 2017-08-27 08:44:58 -04:00
ivtv media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
mantis media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
meye media: meye: Adjust two function calls together with a variable assignment 2017-09-23 08:31:20 -04:00
netup_unidvb media: netup_unidvb: fix a bad kernel-doc markup 2017-11-30 04:18:58 -05:00
ngene License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pluto2 media: pluto2: constify pci_device_id 2017-08-09 09:44:46 -04:00
pt1 media: pt1: constify pci_device_id 2017-08-09 09:46:57 -04:00
pt3 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
saa7134 media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
saa7146 media: Hexium Orion: Adjust one function call together with a variable assignment 2017-09-23 08:31:39 -04:00
saa7164 media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
smipcie License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
solo6x10 media: solo6x10: hide unused variable 2017-12-08 10:04:57 -05:00
sta2x11 media: sta2x11: document missing function parameters 2017-11-30 04:18:55 -05:00
ttpci media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
tw68 media: tw68: fix kernel-doc markups 2017-11-30 04:18:56 -05:00
tw686x media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
tw5864 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
zoran media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
Kconfig [media] pci: Add tw5864 driver 2016-08-24 11:17:22 -03:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00