Re: [PATCH 2/2] octeon: only build flash_setup code when CONFIG_MTD is set

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 22, 2009 at 11:16:21AM +0200, Florian Fainelli wrote:

> This patch makes the flash_setup code be compiled only when
> CONFIG_MTD is set, it does make sense to register a physmap
> platform driver without the MTD subsystem being enabled.

No.  A user might build the MTD subsystem as a module and then insert it
into a running system so the idea is to always register the devices.  This
also keeps the information in /proc/iomem rsp. /proc/iostat and sysfs
more useful.

  Ralf


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux