diff options
author | YueHaibing <yuehaibing@huawei.com> | 2021-06-18 17:35:51 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-06-24 14:51:35 +0800 |
commit | cac6f1b87b1f7feafb7db349a2b1ca86634bc950 (patch) | |
tree | 5c16129f4d146ba309309385427aadfbf2753043 /fs/super.c | |
parent | f873a4d650399ba5af20460f650fa7ea530cbf9e (diff) |
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: YueHaibing <yuehaibing@huawei.com>
Suggested-by: LABBE Corentin <clabbe@baylibre.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'fs/super.c')
0 files changed, 0 insertions, 0 deletions