2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 04:34:11 +08:00
linux-next/drivers/media/i2c/smiapp
Sakari Ailus 4bfb934b00 [media] smiapp: Make suspend and resume functions __maybe_unused
The smiapp_suspend() and smiapp_resume() functions will end up being unused
if CONFIG_PM is enabled but CONFIG_PM_SLEEP is disabled, causing a
compiler warning from both of the function definitions. Fix this by
marking the functions with __maybe_unused.

Suggested-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>
2016-12-21 06:53:35 -02:00
..
Kconfig
Makefile
smiapp-core.c [media] smiapp: Make suspend and resume functions __maybe_unused 2016-12-21 06:53:35 -02:00
smiapp-limits.c [media] smiapp: Remove FSF's address from the license header 2014-12-23 11:27:47 -02:00
smiapp-limits.h [media] smiapp: Remove FSF's address from the license header 2014-12-23 11:27:47 -02:00
smiapp-quirk.c [media] smiapp: Constify the regs argument to smiapp_write_8s() 2016-09-05 15:51:18 -03:00
smiapp-quirk.h [media] smiapp: Add parentheses to macro arguments used in macros 2014-12-23 11:51:30 -02:00
smiapp-reg-defs.h [media] smiapp: Remove FSF's address from the license header 2014-12-23 11:27:47 -02:00
smiapp-reg.h [media] smiapp: Remove FSF's address from the license header 2014-12-23 11:27:47 -02:00
smiapp-regs.c [media] smiapp: don't break long lines 2016-10-21 08:51:34 -02:00
smiapp-regs.h [media] smiapp: Remove FSF's address from the license header 2014-12-23 11:27:47 -02:00
smiapp.h [media] smiapp: Use runtime PM 2016-10-21 15:42:06 -02:00