Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6d07d8c2 authored by Raghavendra Rao Ananta's avatar Raghavendra Rao Ananta
Browse files

pinctrl-msm: Allow the driver to be compiled as a module



Currently, the Kconfig state of MSM_PINCTRL is declared as 'bool',
thus not allowing the driver to be compiled as a module. Hence,
change it to 'tristate' so that the driver can be compiled as a
dynamically loadable kernel module.

Also add MODULE_LICENSE to the driver.

Change-Id: Ica74f8c1ebccaf7eff7e25cb53bb2be759596e8a
Signed-off-by: default avatarRaghavendra Rao Ananta <rananta@codeaurora.org>
parent 40251625
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -2,11 +2,17 @@
if (ARCH_QCOM || COMPILE_TEST)

config PINCTRL_MSM
	bool
	tristate "Qualcomm generic pin controller driver framework"
	select PINMUX
	select PINCONF
	select GENERIC_PINCONF
	select GPIOLIB_IRQCHIP
	help
	  This is a Qualcomm generic pin controller driver framework
	  that is used by platform specific drivers to enable the
	  Top Level Mode Multiplexer (TLMM) hardware block. Say Y
	  here to compile statically, or M here to compile it as a
	  module. If unsure, say N.

config PINCTRL_APQ8064
	tristate "Qualcomm APQ8064 pin controller driver"
+2 −1
Original line number Diff line number Diff line
/*
 * Copyright (c) 2013, Sony Mobile Communications AB.
 * Copyright (c) 2013, The Linux Foundation. All rights reserved.
 * Copyright (c) 2013-2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -1170,3 +1170,4 @@ int msm_pinctrl_remove(struct platform_device *pdev)
}
EXPORT_SYMBOL(msm_pinctrl_remove);

MODULE_LICENSE("GPL v2");