Re: [uClinux-dev] [PATCH 3/3] mtd/maps: uclinux: do not allow tobe built as a module

From: Greg Ungerer
Date: Tue Jun 09 2009 - 22:34:30 EST



Mike Frysinger wrote:
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@xxxxxxxxxx>
CC: Paul Mundt <lethal@xxxxxxxxxxxx>
CC: Greg Ungerer <gerg@xxxxxxxxxxx>

Acked-by: Greg Ungerer <gerg@xxxxxxxxxxx>


CC: uclinux-dev@xxxxxxxxxxx
CC: linux-mtd@xxxxxxxxxxxxxxxxxxx
---
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 82923bd..907873b 100644
--- a/drivers/mtd/maps/Kconfig
+++ b/drivers/mtd/maps/Kconfig
@@ -501,7 +501,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.

--
------------------------------------------------------------------------
Greg Ungerer -- Principal Engineer EMAIL: gerg@xxxxxxxxxxxx
SnapGear Group, McAfee PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
--
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/