9
0
Fork 0

nhk8815: fix nand IO_DATA end resource

introduce in commit
5f03074ea9
resource: store 'end' instead of 'size' in struct resource

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2012-09-03 08:24:54 +02:00 committed by Sascha Hauer
parent 8822e01b9b
commit 5b1583d994
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ static struct resource nhk8815_nand_resources[] = {
.flags = IORESOURCE_MEM,
}, {
.start = NAND_IO_DATA,
.end = NAND_IO_CMD + 0xfff,
.end = NAND_IO_DATA + 0xfff,
.flags = IORESOURCE_MEM,
}
};