Skip to content
Commit cac6f1b8 authored by YueHaibing's avatar YueHaibing Committed by Herbert Xu
Browse files

crypto: sl3516 - Fix build warning without CONFIG_PM



drivers/crypto/gemini/sl3516-ce-core.c:345:12:
 warning: ‘sl3516_ce_pm_resume’ defined but not used [-Wunused-function]
 static int sl3516_ce_pm_resume(struct device *dev)
            ^~~~~~~~~~~~~~~~~~~

The driver needs PM, otherwise clock and resets are never set.
So make it depends on PM to fix this warning.

Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Suggested-by: default avatarLABBE Corentin <clabbe@baylibre.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent f873a4d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment