From 0ef31617d19957791e31ccc674393c1af552d8dc Mon Sep 17 00:00:00 2001 From: Eli Carter Date: Sun, 27 Apr 2003 16:58:17 +0100 Subject: [PATCH] [ARM PATCH] 1514/1: iq80321 MTD C99 fix Patch from Eli Carter # Tue Apr 22 14:28:13 CDT 2003 ejc@rnd-linux-c84 # e45-iq80321-mtd-c99-fix # # I didn't test my C99 fix for the iq80321 MTD mapping. "If you didn't test it, # it's broken." This fixes that (embarrasing) blunder. # # Diffed against linux-2.5.68-rmk1+1513 # # drivers/mtd/maps/iq80321.c | 22 +++++++++++----------- # 1 files changed, 11 insertions(+), 11 deletions(-) # --- drivers/mtd/maps/iq80321.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/mtd/maps/iq80321.c b/drivers/mtd/maps/iq80321.c index 0562fc9ab9c2b..06f1c9d8e9cd5 100644 --- a/drivers/mtd/maps/iq80321.c +++ b/drivers/mtd/maps/iq80321.c @@ -67,17 +67,17 @@ static void iq80321_copy_to(struct map_info *map, unsigned long to, const void * } static struct map_info iq80321_map = { - name = "IQ80321 flash", - size = WINDOW_SIZE, - buswidth = BUSWIDTH, - read8 = iq80321_read8, - read16 = iq80321_read16, - read32 = iq80321_read32, - copy_from = iq80321_copy_from, - write8 = iq80321_write8, - write16 = iq80321_write16, - write32 = iq80321_write32, - copy_to = iq80321_copy_to + .name = "IQ80321 flash", + .size = WINDOW_SIZE, + .buswidth = BUSWIDTH, + .read8 = iq80321_read8, + .read16 = iq80321_read16, + .read32 = iq80321_read32, + .copy_from = iq80321_copy_from, + .write8 = iq80321_write8, + .write16 = iq80321_write16, + .write32 = iq80321_write32, + .copy_to = iq80321_copy_to }; static struct mtd_partition iq80321_partitions[4] = { -- 2.53.0