diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-11-18 19:16:04 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-11-25 12:45:27 +0300 |
commit | fa4a2fd17dc5d2d1fbad7ace78d39d7fea20d78e (patch) | |
tree | 0ead2ca22ec5cbb11d3de5c78319b513d1a437d5 /drivers/media/radio/radio-tea5777.c | |
parent | 8c2ebcf103b106bd8b9c5517bf72885d126d3d27 (diff) | |
download | linux-fa4a2fd17dc5d2d1fbad7ace78d39d7fea20d78e.tar.xz |
[media] v4l: rcar_fdp1: mark PM functions as __maybe_unused
The new driver produces a warning when CONFIG_PM is disabled:
platform/rcar_fdp1.c:2408:12: error: 'fdp1_pm_runtime_resume' defined but not used [-Werror=unused-function]
platform/rcar_fdp1.c:2399:12: error: 'fdp1_pm_runtime_suspend' defined but not used [-Werror=unused-function]
This marks the two functions as __maybe_unused.
Fixes: 4710b752e029 ("[media] v4l: Add Renesas R-Car FDP1 Driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/radio/radio-tea5777.c')
0 files changed, 0 insertions, 0 deletions