From: Mauro Carvalho Chehab Date: Fri, 1 Nov 2013 15:44:54 +0000 (-0300) Subject: [media] radio-shark: remove a warning when CONFIG_PM is not defined X-Git-Tag: v3.13-rc1~46^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5b0b3cb8a2b6637d652cae73f00761a1bd6e66e;p=pandora-kernel.git [media] radio-shark: remove a warning when CONFIG_PM is not defined On alpha, allyesconfig doesn't have CONFIG_PM, and produces the following warnings: drivers/media/radio/radio-shark.c:274:13: warning: 'shark_resume_leds' defined but not used [-Wunused-function] drivers/media/radio/radio-shark2.c:240:13: warning: 'shark_resume_leds' defined but not used [-Wunused-function] That's because those functions are used only at device resume. Signed-off-by: Mauro Carvalho Chehab Reviewed-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed