2005-04-17 06:20:36 +08:00
|
|
|
/*
|
|
|
|
* 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;
|
2006-05-28 04:16:10 +08:00
|
|
|
typedef struct nand_ecclayout nand_ecclayout_t;
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
#endif /* __MTD_USER_H__ */
|