From: Arnaud Patard Date: Thu, 1 Feb 2007 18:14:30 +0000 (-0800) Subject: omap-hw: Fix build X-Git-Tag: v2.6.21-omap1~132 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=db7bd13d7ac983c4ce816bc827a30096c2708f43;p=linux-2.6-omap-h63xx.git 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 --- 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)