spmi: Select IRQ_DOMAIN instead of depend on it
authorStephen Boyd <sboyd@codeaurora.org>
Tue, 16 Jun 2015 18:37:16 +0000 (11:37 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Aug 2015 19:27:09 +0000 (12:27 -0700)
IRQ_DOMAIN is a hidden config option, so depending on it doesn't
make any sense. Select the config option because it's required to
compile this driver.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Reviewed-by: Andy Gross <agross@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/spmi/Kconfig

index 982580af1d16bb8384d7f0f8a344bd04f81ce372..0d3b70b3bda8e40ee57ddefd6d752668036a674d 100644 (file)
@@ -12,7 +12,7 @@ if SPMI
 
 config SPMI_MSM_PMIC_ARB
        tristate "Qualcomm MSM SPMI Controller (PMIC Arbiter)"
-       depends on IRQ_DOMAIN
+       select IRQ_DOMAIN
        depends on ARCH_QCOM || COMPILE_TEST
        depends on HAS_IOMEM
        default ARCH_QCOM