From patchwork Thu Sep 17 19:31:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marek_Beh=C3=BAn?= X-Patchwork-Id: 255408 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 580F3C43463 for ; Thu, 17 Sep 2020 20:13:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 961842075B for ; Thu, 17 Sep 2020 20:12:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=nic.cz header.i=@nic.cz header.b="xL+PObdj" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726244AbgIQUM7 (ORCPT ); Thu, 17 Sep 2020 16:12:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726180AbgIQUM7 (ORCPT ); Thu, 17 Sep 2020 16:12:59 -0400 Received: from mail.nic.cz (mail.nic.cz [IPv6:2001:1488:800:400::400]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45E97C061356; Thu, 17 Sep 2020 12:33:45 -0700 (PDT) Received: from dellmb.labs.office.nic.cz (unknown [IPv6:2001:1488:fffe:6:cac7:3539:7f1f:463]) by mail.nic.cz (Postfix) with ESMTP id 38E29140AE4; Thu, 17 Sep 2020 21:31:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1600371101; bh=JNJBel4wKH1Ej8C26iz5DB6vJq84QpVnS656iTCudLE=; h=From:To:Date; b=xL+PObdj8K7gL2ztGwJeLu6BIXTtUEUk6Bq1GbxVhfYyl2571DCah9U+wbNeC134P 8GBqxqJIqxrwNbWGI5tgakEQbxwJShH8hFWWAa9rvFSom7+x8svs7OrvwhM4SF7tr7 a0jnqzBi9WvTg+HF6y5/KPwBG35Ezl9QOuTYsqNM= From: =?utf-8?q?Marek_Beh=C3=BAn?= To: linux-kernel@vger.kernel.org Cc: linux-leds@vger.kernel.org, Dan Murphy , =?utf-8?q?Mar?= =?utf-8?b?ZWsgQmVow7pu?= , Lee Jones , Pavel Machek , Phil Blundell , Samuel Ortiz Subject: [PATCH mfd] mfd: asic3: build if COMPILE_TEST=y Date: Thu, 17 Sep 2020 21:31:40 +0200 Message-Id: <20200917193140.5324-1-marek.behun@nic.cz> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-Spamd-Bar: / X-Virus-Scanned: clamav-milter 0.102.2 at mail X-Virus-Status: Clean Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org Build this driver on another platforms if COMPILE_TEST=y. Another drivers may depend on this, for example leds-asic3. Signed-off-by: Marek BehĂșn Cc: Lee Jones Cc: Pavel Machek Cc: Phil Blundell Cc: Samuel Ortiz --- drivers/mfd/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 33df0837ab415..599a01aee7abe 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -290,7 +290,8 @@ config MFD_CS47L92 config MFD_ASIC3 bool "Compaq ASIC3" - depends on GPIOLIB && ARM + depends on GPIOLIB + depends on ARM || COMPILE_TEST select MFD_CORE help This driver supports the ASIC3 multifunction chip found on many