OSDN Git Service

mfd: twl-core: Add IRQ_DOMAIN dependency
authorGrant Likely <grant.likely@secretlab.ca>
Fri, 24 Feb 2012 21:58:54 +0000 (14:58 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Sun, 26 Feb 2012 23:48:06 +0000 (16:48 -0700)
TWL4030 depends on IRQ_DOMAIN support, so this patch selects it in Kconfig.
It used to be that CONFIG_IRQ_DOMAIN must only be selected by the architecture,
but recent cleanups have fixed it so that it is safe to select from anywhere.

Signed-off-by: Benoit Cousson <b-cousson@ti.com>
[grant.likely: Changed from a depends to a select]
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Cc: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/Kconfig

index f147395..1489c35 100644 (file)
@@ -201,6 +201,7 @@ config MENELAUS
 config TWL4030_CORE
        bool "Texas Instruments TWL4030/TWL5030/TWL6030/TPS659x0 Support"
        depends on I2C=y && GENERIC_HARDIRQS
+       select IRQ_DOMAIN
        help
          Say yes here if you have TWL4030 / TWL6030 family chip on your board.
          This core driver provides register access and IRQ handling