Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1367543pxu; Sat, 24 Oct 2020 08:30:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzZ3FoSnlivf2L2DkrJ+LS6pmZdK2raFLcL7vgEOHnEPrL0zoNjhS8wxyaH7cK+MtEYudRz X-Received: by 2002:a17:906:400f:: with SMTP id v15mr7155919ejj.378.1603553421893; Sat, 24 Oct 2020 08:30:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603553421; cv=none; d=google.com; s=arc-20160816; b=snO9LKZ4I+F3SztKqyCcZJq1EI0c0fGF9WTPKofmt/5FzB2smwFwhkmkph0WgbzErz tPSnPUN4meTa67Qvonw87YGeZHwoPDCWTPZITc3MA0qhMkNNasqHLXpNp5EHvdzT5wZ0 4MKOFcZyWQCjCM7EcJZuuDWWNImOtTRLcQLLco0VOx5TFX1fWTrpphxPj1xZBUWhEggW mZPm0OIovJKbBdCXDxgwn2WNurgUVoCtF0R8tOBjw63QGZa8+aiNtDOlP8PDjLh6c3HH m5AeBuNMyAOlbJFvEt6JyvZsS8s6TQjiESdv7r6JFQsXF4nD+Ob7JpnCb7jKbhb11e9L KX8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=T9jaF32r76fQuVceLRPFcS20JiKcRq8P+/o8D2O/WkA=; b=p8FqL+ce8EPHzfaMl+1Xo8zAJhmLhGn4aXh77nOL2yv8Ioy5b+vh+O2P0TCuMtH3Qo CX9NO41KssEKQrc9uYpScQDfm9LCugz5MLyieV+QO6gpjcUcAVjKpeBEn0NNHcpNF89a eSN7/dXGzleAzTZCoHojYqZHK/F6wRFPbVM1Xx+UWeCPvAiTdgM2QIewu77qemCVV9yd +qCneDwadELqMwHiXU5RSPuZmIo660VCub27XXTv9FcQAWNmbPNgGtcu0us7kDLNNrCa Kj7OqJMCdhCTcpgyjglqTtuiM45icfdYUegmF6rsC/tYKwCboWo4y7SMuEMOd6hV8T7u bb5w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y6si3301847edm.295.2020.10.24.08.29.59; Sat, 24 Oct 2020 08:30:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761866AbgJXOEZ (ORCPT + 99 others); Sat, 24 Oct 2020 10:04:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761863AbgJXOEY (ORCPT ); Sat, 24 Oct 2020 10:04:24 -0400 Received: from viti.kaiser.cx (viti.kaiser.cx [IPv6:2a01:238:43fe:e600:cd0c:bd4a:7a3:8e9f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FCBAC0613CE for ; Sat, 24 Oct 2020 07:04:24 -0700 (PDT) Received: from dslb-188-096-149-111.188.096.pools.vodafone-ip.de ([188.96.149.111] helo=martin-debian-2.paytec.ch) by viti.kaiser.cx with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1kWJeb-0005I1-JB; Sat, 24 Oct 2020 15:32:17 +0200 From: Martin Kaiser To: Jassi Brar , Maxime Coquelin , Alexandre Torgue , Fabien Dessenne Cc: linux-stm32@st-md-mailman.stormreply.com, linux-kernel@vger.kernel.org, Martin Kaiser Subject: [PATCH 1/2] mailbox: stm32-ipcc: add COMPILE_TEST dependency Date: Sat, 24 Oct 2020 15:31:53 +0200 Message-Id: <20201024133154.22767-1-martin@kaiser.cx> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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) -- 2.20.1