From: Martin Kaiser Date: Sun, 1 Nov 2020 15:42:29 +0000 (+0100) Subject: mailbox: stm32-ipcc: add COMPILE_TEST dependency X-Git-Tag: accepted/tizen/unified/20230118.172025~8232^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d68f17291ccf86442c3d367ba83581b81541baae;p=platform%2Fkernel%2Flinux-rpi.git mailbox: stm32-ipcc: add COMPILE_TEST dependency This allows compiling the driver on architectures where the hardware is not available. Most other mailbox drivers support this as well. Signed-off-by: Martin Kaiser Reviewed-by: Fabien Dessenne Signed-off-by: Jassi Brar --- diff --git a/drivers/mailbox/Kconfig b/drivers/mailbox/Kconfig index 05b1009..abbf5d6 100644 --- a/drivers/mailbox/Kconfig +++ b/drivers/mailbox/Kconfig @@ -201,7 +201,7 @@ config BCM_FLEXRM_MBOX config STM32_IPCC tristate "STM32 IPCC Mailbox" - depends on MACH_STM32MP157 + depends on MACH_STM32MP157 || COMPILE_TEST help Mailbox implementation for STMicroelectonics STM32 family chips with hardware for Inter-Processor Communication Controller (IPCC)