summaryrefslogtreecommitdiff
path: root/arch/sparc/include/asm/bug.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-02-26 09:18:03 -0500
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-02-26 10:38:39 -0500
commit94d4a1a671ec4887e8052badb34fb06312ce3158 (patch)
treea8cecd88181b1f8fcd50bd2b9f85ceb6b7eab78c /arch/sparc/include/asm/bug.h
parent15001033f4149162359de0ca2d74b39933358fc3 (diff)
downloadlinux-94d4a1a671ec4887e8052badb34fb06312ce3158.tar.gz
linux-94d4a1a671ec4887e8052badb34fb06312ce3158.tar.xz
media: ov5695: mark PM functions as __maybe_unused
Without CONFIG_PM, we get a harmless build warning: drivers/media/i2c/ov5695.c:1033:12: error: 'ov5695_runtime_suspend' defined but not used [-Werror=unused-function] static int ov5695_runtime_suspend(struct device *dev) ^~~~~~~~~~~~~~~~~~~~~~ drivers/media/i2c/ov5695.c:1024:12: error: 'ov5695_runtime_resume' defined but not used [-Werror=unused-function] static int ov5695_runtime_resume(struct device *dev) This marks the affected functions as __maybe_unused. Fixes: 8a77009be4be ("media: ov5695: add support for OV5695 sensor") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'arch/sparc/include/asm/bug.h')
0 files changed, 0 insertions, 0 deletions