summaryrefslogtreecommitdiff
path: root/Documentation/hwmon/dme1737
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-01-03 04:27:26 -0500
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-01-05 12:41:13 -0500
commit2086dd35705f82d3c657d43593cd62162a278492 (patch)
tree922f5a50d5dd61ba64fb2386a74ccce83d1b58a2 /Documentation/hwmon/dme1737
parent6afda56a34684556f44bd0ee5b179560deccca4e (diff)
media: intel-ipu3: cio2: mark PM functions as __maybe_unused
When CONFIG_PM is disabled, we get harmless warnings about the suspend/resume callbacks being unused: drivers/media/pci/intel/ipu3/ipu3-cio2.c:1993:12: error: 'cio2_resume' defined but not used [-Werror=unused-function] drivers/media/pci/intel/ipu3/ipu3-cio2.c:1967:12: error: 'cio2_suspend' defined but not used [-Werror=unused-function] This marks them as __maybe_unused to shut up the warnings. Fixes: c2a6a07afe4a ("media: intel-ipu3: cio2: add new MIPI-CSI2 driver") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/hwmon/dme1737')
0 files changed, 0 insertions, 0 deletions