hwrng: pic32 - enable compile-testing

Enable compile testing for the pic32 driver.

Remove the dependency on HW_RANDOM. The pic32 config section is under
"if HW_RANDOM".

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Martin Kaiser 2023-07-04 19:32:00 +02:00 committed by Herbert Xu
parent b4198a9a53
commit b157d50bd2

View File

@ -385,7 +385,7 @@ config HW_RANDOM_STM32
config HW_RANDOM_PIC32
tristate "Microchip PIC32 Random Number Generator support"
depends on HW_RANDOM && MACH_PIC32
depends on MACH_PIC32 || COMPILE_TEST
default y
help
This driver provides kernel-side support for the Random Number