summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/vivi.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2013-11-17 10:48:29 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-11-29 12:04:22 -0200
commitd8eec74a229f4e3448bfdff9ff3cd3f61bb1e63d (patch)
treed7a3b8088d8e39abe73f789d324861e7b09fc0e9 /drivers/media/platform/vivi.c
parentc6f8e5575511967a94c917c8934503253ebf6d5b (diff)
downloadtalos-op-linux-d8eec74a229f4e3448bfdff9ff3cd3f61bb1e63d.tar.gz
talos-op-linux-d8eec74a229f4e3448bfdff9ff3cd3f61bb1e63d.zip
[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 <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/platform/vivi.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud