From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751954AbcBLEau (ORCPT ); Thu, 11 Feb 2016 23:30:50 -0500 Received: from lists.s-osg.org ([54.187.51.154]:48045 "EHLO lists.s-osg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751891AbcBLEar (ORCPT ); Thu, 11 Feb 2016 23:30:47 -0500 From: Javier Martinez Canillas To: linux-kernel@vger.kernel.org Cc: Andi Shyti , linux-samsung-soc@vger.kernel.org, Krzysztof Kozlowski , Lee Jones , Laxman Dewangan , Javier Martinez Canillas Subject: [PATCH 3/4] mfd: max77686: Allow driver to be built as a module Date: Fri, 12 Feb 2016 01:30:18 -0300 Message-Id: <1455251419-8919-4-git-send-email-javier@osg.samsung.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1455251419-8919-1-git-send-email-javier@osg.samsung.com> References: <1455251419-8919-1-git-send-email-javier@osg.samsung.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The driver's Kconfig symbol is a boolean but nothing prevents the driver to be built as a module instead of built-in. It is true that most system integrators will choose the latter but the config should not restrict it. Signed-off-by: Javier Martinez Canillas --- drivers/mfd/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 6c4ebd9f4cb6..005ace26230e 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -493,8 +493,8 @@ config MFD_MAX14577 of the device. config MFD_MAX77686 - bool "Maxim Semiconductor MAX77686/802 PMIC Support" - depends on I2C=y + tristate "Maxim Semiconductor MAX77686/802 PMIC Support" + depends on I2C depends on OF select MFD_CORE select REGMAP_I2C -- 2.5.0