]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: common: edma: edma_pm_resume may be unused
authorArnd Bergmann <arnd@arndb.de>
Fri, 21 Nov 2014 10:48:54 +0000 (11:48 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 21 Nov 2014 11:31:52 +0000 (12:31 +0100)
commitb50731f19846a6823a0c4f87d4b22f66cc02db64
tree224fa6149d31d009afc65cf8dc55f618e2b96a5b
parent8ffbb45f2d9b34e4dcdd046df40c3d519c55d47f
ARM: common: edma: edma_pm_resume may be unused

The recently introduced resume hook in the edma driver
is not referenced when CONFIG_PM_SLEEP is not set, which
results in a compile warning in keystone builds.

This adds an appropriate #ifdef.

Cc: Nishanth Menon <nm@ti.com>
Cc: Daniel Mack <zonque@gmail.com>
Cc: Joel Fernandes <joelf@ti.com>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Fixes: e6fe1d8967: ("ARM: common: edma: add suspend resume hook")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/common/edma.c