mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-15 15:04:27 +08:00
733d0def3e
The flexcop driver has two functions that are normally used, except when multiple frontend drivers are disabled: drivers/media/common/b2c2/flexcop-fe-tuner.c:42:12: warning: 'flexcop_set_voltage' defined but not used [-Wunused-function] drivers/media/common/b2c2/flexcop-fe-tuner.c:71:12: warning: 'flexcop_sleep' defined but not used [-Wunused-function] This avoids the build warning by updating the #ifdef for flexcop_set_voltage to the exact condition under which it is used. For flexcop_sleep, the condition is rather complex, so I resort to marking it as __maybe_unused, so the compiler can silently drop it. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com> |
||
---|---|---|
.. | ||
flexcop_ibi_value_be.h | ||
flexcop_ibi_value_le.h | ||
flexcop-common.h | ||
flexcop-eeprom.c | ||
flexcop-fe-tuner.c | ||
flexcop-hw-filter.c | ||
flexcop-i2c.c | ||
flexcop-misc.c | ||
flexcop-reg.h | ||
flexcop-sram.c | ||
flexcop.c | ||
flexcop.h | ||
Kconfig | ||
Makefile |