From e413d17f8bd6c680a4f792006932a070ce504120 Mon Sep 17 00:00:00 2001 From: Brian Norris Date: Fri, 9 Sep 2011 10:11:49 -0700 Subject: mtd-utils: update mtd-abi.h Kernel ABI header added a new ioctl, killed an old one, and exposed OOB modes to user-space. Plus, it added a lot of documentation. We have some trivial name changes for some MTD mode constants as well. Signed-off-by: Brian Norris Signed-off-by: Artem Bityutskiy --- nandwrite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nandwrite.c') diff --git a/nandwrite.c b/nandwrite.c index 066ef55..3eea6e2 100644 --- a/nandwrite.c +++ b/nandwrite.c @@ -274,7 +274,7 @@ int main(int argc, char * const argv[]) } if (noecc) { - ret = ioctl(fd, MTDFILEMODE, MTD_MODE_RAW); + ret = ioctl(fd, MTDFILEMODE, MTD_FILE_MODE_RAW); if (ret) { switch (errno) { case ENOTTY: -- cgit v1.2.3