From: Geert Uytterhoeven Date: Mon, 28 Oct 2013 12:16:05 +0000 (-0300) Subject: [media] radio-shark: Mark shark_resume_leds() inline to kill compiler warning X-Git-Tag: v3.13-rc4~25^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=812c083ec4ae5182ab034c0ec55dbd5bb937c6f7;p=pandora-kernel.git [media] radio-shark: Mark shark_resume_leds() inline to kill compiler warning If SHARK_USE_LEDS=1, but CONFIG_PM=n: drivers/media/radio/radio-shark.c:275: warning: ‘shark_resume_leds’ defined but not used Instead of making the #ifdef logic even more complicated (there are already two definitions of shark_resume_leds()), mark shark_resume_leds() inline to kill the compiler warning. shark_resume_leds() is small and it has only one caller. Signed-off-by: Geert Uytterhoeven Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed