diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2015-12-25 07:27:04 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-12-25 07:27:04 -0500 |
commit | bda7c4c2b9767ce2af4394754498662d62079af5 (patch) | |
tree | 36a547c9418626ec18200e974e8c424e363ffc6d | |
parent | ce6c1cd2c324c027de87d6c249298c9f93463ee8 (diff) |
pinctrl: qcom: make PMIC drivers bool
commit ab4256cfeab91569e1d96e7f0014538fe0845259
"pinctrl: qcom: pmic-gpio/mpp: of_irq_count() == npins"
made the Qualcomm PMIC pin control drivers make use of
of_irq_count() which is not an exported function, making
modular builds fail.
Fix this by marking the drivers as compiled-in/bool.
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Andy Gross <andy.gross@linaro.org>
Cc: Mark Brown <broonie@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r-- | drivers/pinctrl/qcom/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pinctrl/qcom/Kconfig b/drivers/pinctrl/qcom/Kconfig index eeac8cba8a21..c658d9bce285 100644 --- a/drivers/pinctrl/qcom/Kconfig +++ b/drivers/pinctrl/qcom/Kconfig | |||
@@ -80,7 +80,7 @@ config PINCTRL_QDF2XXX | |||
80 | Qualcomm Technologies QDF2xxx SOCs. | 80 | Qualcomm Technologies QDF2xxx SOCs. |
81 | 81 | ||
82 | config PINCTRL_QCOM_SPMI_PMIC | 82 | config PINCTRL_QCOM_SPMI_PMIC |
83 | tristate "Qualcomm SPMI PMIC pin controller driver" | 83 | bool "Qualcomm SPMI PMIC pin controller driver" |
84 | depends on GPIOLIB && OF && SPMI | 84 | depends on GPIOLIB && OF && SPMI |
85 | select REGMAP_SPMI | 85 | select REGMAP_SPMI |
86 | select PINMUX | 86 | select PINMUX |
@@ -93,7 +93,7 @@ config PINCTRL_QCOM_SPMI_PMIC | |||
93 | devices are pm8841, pm8941 and pma8084. | 93 | devices are pm8841, pm8941 and pma8084. |
94 | 94 | ||
95 | config PINCTRL_QCOM_SSBI_PMIC | 95 | config PINCTRL_QCOM_SSBI_PMIC |
96 | tristate "Qualcomm SSBI PMIC pin controller driver" | 96 | bool "Qualcomm SSBI PMIC pin controller driver" |
97 | depends on GPIOLIB && OF | 97 | depends on GPIOLIB && OF |
98 | select PINMUX | 98 | select PINMUX |
99 | select PINCONF | 99 | select PINCONF |