mtd: uclinux: do not allow to be built as a module

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Fri Jun 5 14:59:24 EDT 2009


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=6ae392ccadbc622d58a9d01a7ee59e340f82fe85
Commit:     6ae392ccadbc622d58a9d01a7ee59e340f82fe85
Parent:     fa254ecbcca713a4aec99478e79f858942b3d4e0
Author:     Mike Frysinger <vapier at gentoo.org>
AuthorDate: Tue May 26 19:33:18 2009 -0400
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Fri Jun 5 18:29:25 2009 +0100

    mtd: uclinux: do not allow to be built as a module
    
    There isn't any benefit to building the uClinux MTD map as a module as the
    rootfs it requires in order to actually be usable is appended to the
    kernel image, not the module.  No known system builds it this way either,
    so change the option to "bool".
    
    Signed-off-by: Mike Frysinger <vapier at gentoo.org>
    CC: Paul Mundt <lethal at linux-sh.org>
    CC: Greg Ungerer <gerg at uclinux.org>
    CC: uclinux-dev at uclinux.org
    CC: linux-mtd at lists.infradead.org
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 drivers/mtd/maps/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig
index 91544c2..0b98654 100644
--- a/drivers/mtd/maps/Kconfig
+++ b/drivers/mtd/maps/Kconfig
@@ -492,7 +492,7 @@ config MTD_BFIN_ASYNC
 	  If compiled as a module, it will be called bfin-async-flash.
 
 config MTD_UCLINUX
-	tristate "Generic uClinux RAM/ROM filesystem support"
+	bool "Generic uClinux RAM/ROM filesystem support"
 	depends on MTD_PARTITIONS && MTD_RAM && !MMU
 	help
 	  Map driver to support image based filesystems for uClinux.



More information about the linux-mtd-cvs mailing list