From: Hans de Goede Date: Sun, 17 Nov 2013 13:48:29 +0000 (-0300) Subject: [media] radio-shark2: Mark shark_resume_leds() inline to kill compiler warning X-Git-Tag: v3.13-rc4~25^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7223f8f66b685f325879a88a6c955ebf46a8a36;p=pandora-kernel.git [media] radio-shark2: Mark shark_resume_leds() inline to kill compiler warning This mirrors the patch to the radio-shark driver by Geert Uytterhoeven. If SHARK_USE_LEDS=1, but CONFIG_PM=n: drivers/media/radio/radio-shark2.c:240: 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: Hans de Goede Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed