crypto: crypto4xx - Avoid linking failure with HW_RANDOM=m
authorFlorian Fainelli <f.fainelli@gmail.com>
Sat, 30 Jan 2021 22:55:38 +0000 (14:55 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 5 Feb 2021 03:32:05 +0000 (14:32 +1100)
commit63b8ee4f548c36658c2854d353270b3474d45aeb
tree20fd0015c002f4d1d059c0f7cd00d8b3f9ac2f4b
parentb4ea2220b86afe6ea962c3bd51f61eaf56cd8212
crypto: crypto4xx - Avoid linking failure with HW_RANDOM=m

It is currently possible to build CONFIG_HW_RANDOM_PPC4XX=y with
CONFIG_HW_RANDOM=m which would lead to the inability of linking with
devm_hwrng_{register,unregister}. We cannot have the framework modular
and the consumer of that framework built-in, so make that dependency
explicit.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/Kconfig