Re: [PATCH -next v2] mmc: fix cb710 kconfig dependency warning

From: Michał Mirosław
Date: Thu Oct 14 2010 - 15:50:26 EST


On Thu, Oct 14, 2010 at 11:30:55AM -0700, Randy Dunlap wrote:
> Fix kconfig dependency warning to satisfy dependencies:
> warning: (MMC_CB710 && MMC && PCI) selects CB710_CORE which has unmet direct dependencies (MISC_DEVICES && PCI)
>
> Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
> Cc: <mirq-linux@xxxxxxxxxxxx>
> ---
> drivers/mmc/host/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> --- linux-next-20101013.orig/drivers/mmc/host/Kconfig
> +++ linux-next-20101013/drivers/mmc/host/Kconfig
> @@ -395,6 +395,7 @@ config MMC_TMIO
> config MMC_CB710
> tristate "ENE CB710 MMC/SD Interface support"
> depends on PCI
> + select MISC_DEVICES
> select CB710_CORE
> help
> This option enables support for MMC/SD part of ENE CB710/720 Flash

Acked-by: Michał Mirosław <mirq-linux@xxxxxxxxxxxx>

It would be better, thoughm if MISC_DEVICES was some kind of ghost config
entry that needs no selecting or depending on as it is used only for users
convenience - config tree decoration maybe.

Best Regards,
Michał Mirosław
--
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/