[Linux-stm32] [PATCH 1/2] mailbox: stm32-ipcc: add COMPILE_TEST dependency

Fabien DESSENNE fabien.dessenne at st.com
Mon Oct 26 08:11:50 UTC 2020


Hi Martin


Thank you for the patch

On 24/10/2020 3:31 pm, Martin Kaiser wrote:

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 <martin at kaiser.cx><mailto:martin at kaiser.cx>


Reviewed-by: Fabien Dessenne <fabien.dessenne at st.com><mailto:fabien.dessenne at st.com>




---

I used this for testing the trivial patch that removes the duplicate error
message. Also, compiling the driver on x86_64 worked without errors.

 drivers/mailbox/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mailbox/Kconfig b/drivers/mailbox/Kconfig
index 05b1009e2820..abbf5d67ffa2 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)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://st-md-mailman.stormreply.com/pipermail/linux-stm32/attachments/20201026/c951ce83/attachment.html>


More information about the Linux-stm32 mailing list