diff options
-rw-r--r-- | drivers/mtd/Kconfig | 3 | ||||
-rw-r--r-- | drivers/mtd/Makefile | 2 | ||||
-rw-r--r-- | drivers/mtd/ofpart.c | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig index 4be8373d43e5..cc02e2115efb 100644 --- a/drivers/mtd/Kconfig +++ b/drivers/mtd/Kconfig | |||
@@ -137,7 +137,8 @@ config MTD_AFS_PARTS | |||
137 | 'physmap' map driver (CONFIG_MTD_PHYSMAP) does this, for example. | 137 | 'physmap' map driver (CONFIG_MTD_PHYSMAP) does this, for example. |
138 | 138 | ||
139 | config MTD_OF_PARTS | 139 | config MTD_OF_PARTS |
140 | def_bool y | 140 | tristate "OpenFirmware partitioning information support" |
141 | default Y | ||
141 | depends on OF | 142 | depends on OF |
142 | help | 143 | help |
143 | This provides a partition parsing function which derives | 144 | This provides a partition parsing function which derives |
diff --git a/drivers/mtd/Makefile b/drivers/mtd/Makefile index 39664c4229ff..9aaac3ac89f3 100644 --- a/drivers/mtd/Makefile +++ b/drivers/mtd/Makefile | |||
@@ -5,8 +5,8 @@ | |||
5 | # Core functionality. | 5 | # Core functionality. |
6 | obj-$(CONFIG_MTD) += mtd.o | 6 | obj-$(CONFIG_MTD) += mtd.o |
7 | mtd-y := mtdcore.o mtdsuper.o mtdconcat.o mtdpart.o | 7 | mtd-y := mtdcore.o mtdsuper.o mtdconcat.o mtdpart.o |
8 | mtd-$(CONFIG_MTD_OF_PARTS) += ofpart.o | ||
9 | 8 | ||
9 | obj-$(CONFIG_MTD_OF_PARTS) += ofpart.o | ||
10 | obj-$(CONFIG_MTD_REDBOOT_PARTS) += redboot.o | 10 | obj-$(CONFIG_MTD_REDBOOT_PARTS) += redboot.o |
11 | obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o | 11 | obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o |
12 | obj-$(CONFIG_MTD_AFS_PARTS) += afs.o | 12 | obj-$(CONFIG_MTD_AFS_PARTS) += afs.o |
diff --git a/drivers/mtd/ofpart.c b/drivers/mtd/ofpart.c index 41c451842fd2..aa33b8ad4f3c 100644 --- a/drivers/mtd/ofpart.c +++ b/drivers/mtd/ofpart.c | |||
@@ -174,3 +174,5 @@ out: | |||
174 | module_init(ofpart_parser_init); | 174 | module_init(ofpart_parser_init); |
175 | 175 | ||
176 | MODULE_LICENSE("GPL"); | 176 | MODULE_LICENSE("GPL"); |
177 | MODULE_DESCRIPTION("Parser for MTD partitioning information in device tree"); | ||
178 | MODULE_AUTHOR("Vitaly Wool, David Gibson"); | ||