14a8e43feSDavid Howells /* 24a8e43feSDavid Howells * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org> 34a8e43feSDavid Howells * 44a8e43feSDavid Howells * This program is free software; you can redistribute it and/or modify 54a8e43feSDavid Howells * it under the terms of the GNU General Public License as published by 64a8e43feSDavid Howells * the Free Software Foundation; either version 2 of the License, or 74a8e43feSDavid Howells * (at your option) any later version. 84a8e43feSDavid Howells * 94a8e43feSDavid Howells * This program is distributed in the hope that it will be useful, 104a8e43feSDavid Howells * but WITHOUT ANY WARRANTY; without even the implied warranty of 114a8e43feSDavid Howells * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 124a8e43feSDavid Howells * GNU General Public License for more details. 134a8e43feSDavid Howells * 144a8e43feSDavid Howells * You should have received a copy of the GNU General Public License 154a8e43feSDavid Howells * along with this program; if not, write to the Free Software 164a8e43feSDavid Howells * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 174a8e43feSDavid Howells * 184a8e43feSDavid Howells */ 194a8e43feSDavid Howells 204a8e43feSDavid Howells #ifndef __MTD_USER_H__ 214a8e43feSDavid Howells #define __MTD_USER_H__ 224a8e43feSDavid Howells 234a8e43feSDavid Howells #include <stdint.h> 244a8e43feSDavid Howells 254a8e43feSDavid Howells /* This file is blessed for inclusion by userspace */ 264a8e43feSDavid Howells #include <mtd/mtd-abi.h> 274a8e43feSDavid Howells 284a8e43feSDavid Howells typedef struct mtd_info_user mtd_info_t; 294a8e43feSDavid Howells typedef struct erase_info_user erase_info_t; 304a8e43feSDavid Howells typedef struct region_info_user region_info_t; 314a8e43feSDavid Howells typedef struct nand_oobinfo nand_oobinfo_t; 324a8e43feSDavid Howells typedef struct nand_ecclayout_user nand_ecclayout_t; 334a8e43feSDavid Howells 344a8e43feSDavid Howells #endif /* __MTD_USER_H__ */ 35