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