Re: [PATCH] drivers: misc: Remove MISC_DEVICES config option

From: Greg KH
Date: Fri Jan 06 2012 - 00:05:51 EST


On Thu, Jan 05, 2012 at 11:18:28PM -0200, Fabio Estevam wrote:
> On Thu, Jan 5, 2012 at 8:39 PM, Greg KH <greg@xxxxxxxxx> wrote:
>
> > Are you sure that this isn't getting confused with the
> > drivers/char/misc.c interface instead of the "throw a bunch of randome
> > drivers into drivers/misc/" issue?
>
> Sorry, I am not aware of this issue.
>
> > Why would anything ever want to select MISC_DEVICES?  What happens if
> > you just remove that select line from the Kconfig?
>
> Yes, I don´t understand the point of allowing the selection MISC_DEVICES.
>
> IMHO it is potential for causing dependency issues.

Then remove that selection. Nothing should be depending on a misc
driver, if it is, then that implies that this is more than just a "misc"
driver, and it should be moved elsewhere.

thanks,

greg k-h
--
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/