Re: [PATCH] [media] radio-shark: Mark shark_resume_leds() inline to kill compiler warning

2013-11-17 Thread Hans de Goede
Hi, On 10/28/2013 01:16 PM, Geert Uytterhoeven wrote: 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

[PATCH] [media] radio-shark: Mark shark_resume_leds() inline to kill compiler warning

2013-10-28 Thread Geert Uytterhoeven
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