From db7bd13d7ac983c4ce816bc827a30096c2708f43 Mon Sep 17 00:00:00 2001 From: Arnaud Patard Date: Thu, 1 Feb 2007 10:14:30 -0800 Subject: [PATCH] omap-hw: Fix build The n800 patches are renaming a struct and a atag name which is used in the omap-hw driver without updating it. This patch does it. Signed-off-by: Arnaud Patard Signed-off-by: Tony Lindgren --- drivers/mtd/nand/omap-hw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/nand/omap-hw.c b/drivers/mtd/nand/omap-hw.c index aaadb63a56b..3888961e8a7 100644 --- a/drivers/mtd/nand/omap-hw.c +++ b/drivers/mtd/nand/omap-hw.c @@ -669,12 +669,12 @@ static int __init add_dynamic_parts(struct mtd_info *mtd) { static const char *part_parsers[] = { "cmdlinepart", NULL }; struct mtd_partition *parts; - const struct omap_flash_part_config *cfg; + const struct omap_flash_part_str_config *cfg; char *part_str = NULL; size_t part_str_len; int c; - cfg = omap_get_var_config(OMAP_TAG_FLASH_PART, &part_str_len); + cfg = omap_get_var_config(OMAP_TAG_FLASH_PART_STR, &part_str_len); if (cfg != NULL) { part_str = kmalloc(part_str_len + 1, GFP_KERNEL); if (part_str == NULL) -- 2.41.1