From: Paul Bolle Date: Tue, 5 Feb 2013 12:42:21 +0000 (-0300) Subject: [media] saa7164: silence GCC warnings X-Git-Tag: v3.9-rc1~93^2~187 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4c13d3df1dfabac3d7737924a0dec665a971484;p=pandora-kernel.git [media] saa7164: silence GCC warnings 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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed