From: Martin Kaiser Date: Tue, 4 Jul 2023 17:32:00 +0000 (+0200) Subject: hwrng: pic32 - enable compile-testing X-Git-Tag: ceph-for-6.6-rc4~208^2~116 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=b157d50bd2de501023391bab81f6198153398b2d;p=ceph-client.git 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 Signed-off-by: Herbert Xu --- diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig index e0b3786ca51bc..1aeba12391a12 100644 --- a/drivers/char/hw_random/Kconfig +++ b/drivers/char/hw_random/Kconfig @@ -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