mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 04:15:07 +07:00
4bfb934b00
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
smiapp-core.c | ||
smiapp-limits.c | ||
smiapp-limits.h | ||
smiapp-quirk.c | ||
smiapp-quirk.h | ||
smiapp-reg-defs.h | ||
smiapp-reg.h | ||
smiapp-regs.c | ||
smiapp-regs.h | ||
smiapp.h |