From: Vadim Pasternak <vadimp@mellanox.com>
Date: Thu, 1 Feb 2018 08:10:34 +0000 (+0000)
Subject: leds: leds-mlxcpld: Allow compilation for 32 bit arch
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8f886de18a39d714989a74bfb1f96da4b4263772;p=linux.git

leds: leds-mlxcpld: Allow compilation for 32 bit arch

It makes leds-mlxcpld available for 32 bit architecture.

Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Reported-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
---

diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index 3e763d2a0cb36..fe52436a7db09 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -688,7 +688,7 @@ config LEDS_PM8058
 
 config LEDS_MLXCPLD
 	tristate "LED support for the Mellanox boards"
-	depends on X86_64 && DMI
+	depends on X86 && DMI
 	depends on LEDS_CLASS
 	help
 	  This option enabled support for the LEDs on the Mellanox