mtd: nand: use loff_t for offset
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Sat, 16 May 2009 12:27:40 +0000 (14:27 +0200)
committerScott Wood <scottwood@freescale.com>
Tue, 7 Jul 2009 22:58:06 +0000 (17:58 -0500)
commit378adfcdf4bbd77ee4cbc3276d4733e218308a21
treef01199f62880c8a24e73b01184ac08781ac38443
parent8360b66bac9567701027a0087274d0c9b2fe8d6b
mtd: nand: use loff_t for offset

nand_util currently uses size_t which is arch dependent and not always a
unsigned long.  Now use loff_t, as does the linux mtd layer.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
drivers/mtd/nand/nand_util.c
include/nand.h