From: Amit Kucheria Date: Fri, 19 Oct 2007 13:32:52 +0000 (+0300) Subject: set_vpp() is only functional for omap1 now X-Git-Tag: v2.6.23-omap1~4 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=1fe2aa25c7ea9c5d11a90c3580d17c5a93ef5b84;p=linux-2.6-omap-h63xx.git set_vpp() is only functional for omap1 now Signed-off-by: Amit Kucheria Signed-off-by: Tony Lindgren --- diff --git a/drivers/mtd/maps/omap_nor.c b/drivers/mtd/maps/omap_nor.c index a0a12af08aa..a1342a2a1cb 100644 --- a/drivers/mtd/maps/omap_nor.c +++ b/drivers/mtd/maps/omap_nor.c @@ -61,7 +61,7 @@ static void omap_set_vpp(struct map_info *map, int enable) { static int count; - if (!cpu_is_omap24xx()) { + if (cpu_class_is_omap1()) { if (enable) { if (count++ == 0) OMAP_EMIFS_CONFIG_REG |= OMAP_EMIFS_CONFIG_WP;