Re: [PATCH] regmap: Use select .. if to get IRQ_DOMAIN enabled

From: David Rientjes
Date: Wed May 23 2012 - 21:06:26 EST


On Wed, 23 May 2012, Mark Brown wrote:

> Ensure that we can't get randconfig breakage by doing the IRQ_DOMAIN
> select automatically. Don't just do the select from REGMAP_IRQ to ensure
> that the select actually gets noticed.
>
> Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
> Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> ---
> drivers/base/regmap/Kconfig | 1 +
> drivers/mfd/Kconfig | 3 ---
> 2 files changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/drivers/base/regmap/Kconfig b/drivers/base/regmap/Kconfig
> index 9ef0a53..6be390b 100644
> --- a/drivers/base/regmap/Kconfig
> +++ b/drivers/base/regmap/Kconfig
> @@ -6,6 +6,7 @@ config REGMAP
> default y if (REGMAP_I2C || REGMAP_SPI)
> select LZO_COMPRESS
> select LZO_DECOMPRESS
> + select IRQ_DOMAIN if REGMAP_IRQ
> bool
>
> config REGMAP_I2C

Just do the "select IRQ_DOMAIN" for REGMAP_IRQ like I did it in my patch
and stop dropping cc's. Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/