Commit 0ef31617 authored by Eli Carter's avatar Eli Carter Committed by Russell King

[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(-)
#
parent 844e7a30
......@@ -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] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment