]> git.hungrycats.org Git - linux/commitdiff
[ARM PATCH] 1514/1: iq80321 MTD C99 fix
authorEli Carter <eli.carter@com.rmk.(none)>
Sun, 27 Apr 2003 15:58:17 +0000 (16:58 +0100)
committerRussell King <rmk@flint.arm.linux.org.uk>
Sun, 27 Apr 2003 15:58:17 +0000 (16:58 +0100)
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

index 0562fc9ab9c2b83cc2e53a75fe8fd90ab0f6a598..06f1c9d8e9cd5c0c44ff6392e5538552c78816c5 100644 (file)
@@ -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] = {