d259f91c0e
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:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
solo6x10-core.c | ||
solo6x10-disp.c | ||
solo6x10-eeprom.c | ||
solo6x10-enc.c | ||
solo6x10-g723.c | ||
solo6x10-gpio.c | ||
solo6x10-i2c.c | ||
solo6x10-jpeg.h | ||
solo6x10-offsets.h | ||
solo6x10-p2m.c | ||
solo6x10-regs.h | ||
solo6x10-tw28.c | ||
solo6x10-tw28.h | ||
solo6x10-v4l2-enc.c | ||
solo6x10-v4l2.c | ||
solo6x10.h |