[PATCH] physmap: do not probe absent modules

David Woodhouse dwmw2 at infradead.org
Mon Apr 28 04:26:02 EDT 2008


On Thu, 2008-04-24 at 22:38 +0900, Atsushi Nemoto wrote:
> For example, if MTD_CFI was not enabled, probing it does nothing other
> than just produces an error message.

Eww. We should _never_ have stuff in the static kernel depending on
CONFIG_xxx_MODULE. What if you build the module later?

I wouldn't be entirely averse to making some of these config options
boolean, though.

-- 
dwmw2




More information about the linux-mtd mailing list