lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200917193140.5324-1-marek.behun@nic.cz>
Date:   Thu, 17 Sep 2020 21:31:40 +0200
From:   Marek Behún <marek.behun@....cz>
To:     linux-kernel@...r.kernel.org
Cc:     linux-leds@...r.kernel.org, Dan Murphy <dmurphy@...com>,
        Marek Behún <marek.behun@....cz>,
        Lee Jones <lee.jones@...aro.org>, Pavel Machek <pavel@....cz>,
        Phil Blundell <pb@...dhelds.org>,
        Samuel Ortiz <sameo@...nedhand.com>
Subject: [PATCH mfd] mfd: asic3: build if COMPILE_TEST=y

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 <marek.behun@....cz>
Cc: Lee Jones <lee.jones@...aro.org>
Cc: Pavel Machek <pavel@....cz>
Cc: Phil Blundell <pb@...dhelds.org>
Cc: Samuel Ortiz <sameo@...nedhand.com>
---
 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
-- 
2.26.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ