mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 16:29:59 +00:00
![Thomas Gleixner](/assets/img/avatar_default.png)
The nand_oobinfo structure is not fitting the newer error correction demands anymore. Replace it by struct nand_ecclayout and fixup the users all over the place. Keep the nand_oobinfo based ioctl for user space compability reasons. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
21 lines
516 B
C
21 lines
516 B
C
/*
|
|
* $Id: mtd-user.h,v 1.2 2004/05/05 14:44:57 dwmw2 Exp $
|
|
*
|
|
* MTD ABI header for use by user space only.
|
|
*/
|
|
|
|
#ifndef __MTD_USER_H__
|
|
#define __MTD_USER_H__
|
|
|
|
#include <stdint.h>
|
|
|
|
/* This file is blessed for inclusion by userspace */
|
|
#include <mtd/mtd-abi.h>
|
|
|
|
typedef struct mtd_info_user mtd_info_t;
|
|
typedef struct erase_info_user erase_info_t;
|
|
typedef struct region_info_user region_info_t;
|
|
typedef struct nand_oobinfo nand_oobinfo_t;
|
|
typedef struct nand_ecclayout nand_ecclayout_t;
|
|
|
|
#endif /* __MTD_USER_H__ */
|