Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
0002 /*
0003  * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org>
0004  *
0005  * This program is free software; you can redistribute it and/or modify
0006  * it under the terms of the GNU General Public License as published by
0007  * the Free Software Foundation; either version 2 of the License, or
0008  * (at your option) any later version.
0009  *
0010  * This program is distributed in the hope that it will be useful,
0011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
0012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0013  * GNU General Public License for more details.
0014  *
0015  * You should have received a copy of the GNU General Public License
0016  * along with this program; if not, write to the Free Software
0017  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
0018  *
0019  */
0020 
0021 #ifndef __MTD_USER_H__
0022 #define __MTD_USER_H__
0023 
0024 /* This file is blessed for inclusion by userspace */
0025 #include <mtd/mtd-abi.h>
0026 
0027 typedef struct mtd_info_user mtd_info_t;
0028 typedef struct erase_info_user erase_info_t;
0029 typedef struct region_info_user region_info_t;
0030 typedef struct nand_oobinfo nand_oobinfo_t;
0031 typedef struct nand_ecclayout_user nand_ecclayout_t;
0032 
0033 #endif /* __MTD_USER_H__ */