diff options
author | Hans de Goede <hdegoede@redhat.com> | 2013-11-17 14:48:29 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-12-09 17:50:50 +0100 |
commit | c7223f8f66b685f325879a88a6c955ebf46a8a36 (patch) | |
tree | 7dc3ab560a24ed9e8c2989b54e8877dc48ac8202 /lib/kobject_uevent.c | |
parent | [media] radio-shark: Mark shark_resume_leds() inline to kill compiler warning (diff) | |
download | linux-c7223f8f66b685f325879a88a6c955ebf46a8a36.tar.xz linux-c7223f8f66b685f325879a88a6c955ebf46a8a36.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 'lib/kobject_uevent.c')
0 files changed, 0 insertions, 0 deletions