crypto: ux500/hash - Silence compiler warning for !CONFIG_PM
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 6 Nov 2014 13:28:01 +0000 (14:28 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 10 Nov 2014 14:09:03 +0000 (22:09 +0800)
commitbdcf83b7831e41f666b50ee6cd946c733bbea1ef
treed82c45e4c8815af584663d4ddfa5f37624edf20a
parentdbd8fbefd833da9f212d19e0034b62c02c644b70
crypto: ux500/hash - Silence compiler warning for !CONFIG_PM

The system PM functions were unused when CONFIG_PM is unset. Let's move
them inside CONFIG_PM_SLEEP to silence the compiler warning.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ux500/hash/hash_core.c