diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-10-28 13:16:05 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-12-09 17:50:49 +0100 |
commit | 812c083ec4ae5182ab034c0ec55dbd5bb937c6f7 (patch) | |
tree | 53e91cbb92dc17248b19e7777970bf54e8c0ad5f /Documentation/hwmon/ads1015 | |
parent | [media] af9035: unlock on error in af9035_i2c_master_xfer() (diff) | |
download | linux-812c083ec4ae5182ab034c0ec55dbd5bb937c6f7.tar.xz linux-812c083ec4ae5182ab034c0ec55dbd5bb937c6f7.zip |
[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>
Diffstat (limited to 'Documentation/hwmon/ads1015')
0 files changed, 0 insertions, 0 deletions