Re: [PATCH] hwrng: histb - Move driver to drivers/char/hw_random/histb-rng.c

From: Herbert Xu
Date: Thu Apr 20 2023 - 06:21:42 EST


On Mon, Apr 10, 2023 at 05:13:54PM +0800, David Yang wrote:
>
> diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
> index 4fdf07ae3c54..1a241f37abed 100644
> --- a/drivers/char/hw_random/Kconfig
> +++ b/drivers/char/hw_random/Kconfig
> @@ -335,6 +335,18 @@ config HW_RANDOM_HISI
>
> If unsure, say Y.
>
> +config HW_RANDOM_HISTB
> + tristate "Hisilicon STB Random Number Generator support"
> + depends on ARCH_HISI || COMPILE_TEST
> + depends on HW_RANDOM
> + default ARCH_HISI

Please drop the dependency on HW_RANDOM.

Thanks,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt