Ignore:
Timestamp:
2011-11-09T22:16:36+01:00 (5 years ago)
Author:
jogo
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/generic/patches-2.6.37/400-rootfs_split.patch

    r27491 r28893  
    326326 #define MEMREADOOB64           _IOWR('M', 22, struct mtd_oob_buf64) 
    327327 #define MEMISLOCKED            _IOR('M', 23, struct erase_info_user) 
    328 +#define MTDREFRESH             _IO('M', 24) 
     328+#define MTDREFRESH             _IO('M', 50) 
    329329  
    330330 /* 
Note: See TracChangeset for help on using the changeset viewer.