]> git.karo-electronics.de Git - linux-beck.git/commit
[media] radio-shark: Mark shark_resume_leds() inline to kill compiler warning
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 28 Oct 2013 12:16:05 +0000 (09:16 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 29 Nov 2013 14:02:34 +0000 (12:02 -0200)
commitc6f8e5575511967a94c917c8934503253ebf6d5b
tree3121b62ced13747ed1424bce5a5e997089896156
parent258d2fbf874c87830664cb7ef41f9741c1abffac
[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 <geert@linux-m68k.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/radio/radio-shark.c