mirror of https://gitee.com/openkylin/linux.git
b4c13d3df1
Compiling the saa7164 driver without CONFIG_VIDEO_ADV_DEBUG set triggers these GCC warnings: drivers/media/pci/saa7164/saa7164-encoder.c:1301:12: warning: ‘saa7164_g_register’ defined but not used [-Wunused-function] drivers/media/pci/saa7164/saa7164-encoder.c:1314:12: warning: ‘saa7164_s_register’ defined but not used [-Wunused-function] Silence these warnings by wrapping these two functions in an "#ifdef CONFIG_VIDEO_ADV_DEBUG" and "#endif" pair. Signed-off-by: Paul Bolle <pebolle@tiscali.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
saa7164-api.c | ||
saa7164-buffer.c | ||
saa7164-bus.c | ||
saa7164-cards.c | ||
saa7164-cmd.c | ||
saa7164-core.c | ||
saa7164-dvb.c | ||
saa7164-encoder.c | ||
saa7164-fw.c | ||
saa7164-i2c.c | ||
saa7164-reg.h | ||
saa7164-types.h | ||
saa7164-vbi.c | ||
saa7164.h |