diff options
| author | Arnd Bergmann <[email protected]> | 2017-09-15 15:52:04 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2017-12-08 10:04:57 -0500 |
| commit | d259f91c0efb3896daadc1cd0c5207e5c81cb6b7 (patch) | |
| tree | a13d835eba12ee25732fd32ab25afbef2cbdd4d2 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 06ac35e52ba7d934501a37c308c1b0163c706dbf (diff) | |
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: d3202d1981dc ("media: solo6x10: export hardware GPIO pins 8:31 to gpiolib interface")
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Ismael Luceno <[email protected]>
Acked-by: Anton Sviridenko <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions