mirror of https://gitee.com/openkylin/linux.git
ab11fae0be
The suspend/resume functions have no callers depending on
configuration, so they must be marked __maybe_unused to
avoid these harmless warnings:
drivers/media/platform/marvell-ccic/mmp-driver.c:347:12: warning:
'mmpcam_resume' defined but not used [-Wunused-function]
347 | static int mmpcam_resume(struct device *dev)
| ^~~~~~~~~~~~~
drivers/media/platform/marvell-ccic/mmp-driver.c:338:12: warning:
'mmpcam_suspend' defined but not used [-Wunused-function]
338 | static int mmpcam_suspend(struct device *dev)
| ^~~~~~~~~~~~~~
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
cafe-driver.c | ||
mcam-core.c | ||
mcam-core.h | ||
mmp-driver.c |