target: linux: mtd: fix MTDREFRESH to an arbitrary high number

To make the ioctl number "stable", use an arbitrary high number to prevent
conflicts with new mtd ioctls that would push MTDREFRESH's number.

Also make mtd use the in-kernel mtd headers.

SVN-Revision: 28893
This commit is contained in:
Jonas Gorski
2011-11-09 21:16:36 +00:00
parent 44da6400cd
commit f53128f79b
14 changed files with 13 additions and 317 deletions

View File

@@ -30,7 +30,7 @@
#include <errno.h>
#include <sys/ioctl.h>
#include "mtd-api.h"
#include <mtd/mtd-user.h>
#include "mtd.h"
#include "crc32.h"