diff options
| author | Geert Uytterhoeven <[email protected]> | 2013-10-28 09:16:05 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2013-11-29 12:02:34 -0200 |
| commit | c6f8e5575511967a94c917c8934503253ebf6d5b (patch) | |
| tree | 3121b62ced13747ed1424bce5a5e997089896156 /tools/perf/scripts/python/bin | |
| parent | 258d2fbf874c87830664cb7ef41f9741c1abffac (diff) | |
[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 <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions