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.32/065-rootfs_split.patch

    r26705 r28893  
    622622 #define MEMWRITEOOB64          _IOWR('M', 21, struct mtd_oob_buf64) 
    623623 #define MEMREADOOB64           _IOWR('M', 22, struct mtd_oob_buf64) 
    624 +#define MTDREFRESH             _IO('M', 23) 
     624+#define MTDREFRESH             _IO('M', 50) 
    625625  
    626626 /* 
Note: See TracChangeset for help on using the changeset viewer.