| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* | 
|  | 2 | * $Id: mtd-user.h,v 1.2 2004/05/05 14:44:57 dwmw2 Exp $ | 
|  | 3 | * | 
|  | 4 | * MTD ABI header for use by user space only. | 
|  | 5 | */ | 
|  | 6 |  | 
|  | 7 | #ifndef __MTD_USER_H__ | 
|  | 8 | #define __MTD_USER_H__ | 
|  | 9 |  | 
|  | 10 | #include <stdint.h> | 
|  | 11 |  | 
|  | 12 | /* This file is blessed for inclusion by userspace */ | 
|  | 13 | #include <mtd/mtd-abi.h> | 
|  | 14 |  | 
|  | 15 | typedef struct mtd_info_user mtd_info_t; | 
|  | 16 | typedef struct erase_info_user erase_info_t; | 
|  | 17 | typedef struct region_info_user region_info_t; | 
|  | 18 | typedef struct nand_oobinfo nand_oobinfo_t; | 
| Thomas Gleixner | 5bd34c0 | 2006-05-27 22:16:10 +0200 | [diff] [blame] | 19 | typedef struct nand_ecclayout nand_ecclayout_t; | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 |  | 
|  | 21 | #endif /* __MTD_USER_H__ */ |