18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org> 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * This program is free software; you can redistribute it and/or modify 68c2ecf20Sopenharmony_ci * it under the terms of the GNU General Public License as published by 78c2ecf20Sopenharmony_ci * the Free Software Foundation; either version 2 of the License, or 88c2ecf20Sopenharmony_ci * (at your option) any later version. 98c2ecf20Sopenharmony_ci * 108c2ecf20Sopenharmony_ci * This program is distributed in the hope that it will be useful, 118c2ecf20Sopenharmony_ci * but WITHOUT ANY WARRANTY; without even the implied warranty of 128c2ecf20Sopenharmony_ci * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 138c2ecf20Sopenharmony_ci * GNU General Public License for more details. 148c2ecf20Sopenharmony_ci * 158c2ecf20Sopenharmony_ci * You should have received a copy of the GNU General Public License 168c2ecf20Sopenharmony_ci * along with this program; if not, write to the Free Software 178c2ecf20Sopenharmony_ci * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 188c2ecf20Sopenharmony_ci * 198c2ecf20Sopenharmony_ci */ 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci#ifndef __MTD_USER_H__ 228c2ecf20Sopenharmony_ci#define __MTD_USER_H__ 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ci/* This file is blessed for inclusion by userspace */ 258c2ecf20Sopenharmony_ci#include <mtd/mtd-abi.h> 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_citypedef struct mtd_info_user mtd_info_t; 288c2ecf20Sopenharmony_citypedef struct erase_info_user erase_info_t; 298c2ecf20Sopenharmony_citypedef struct region_info_user region_info_t; 308c2ecf20Sopenharmony_citypedef struct nand_oobinfo nand_oobinfo_t; 318c2ecf20Sopenharmony_citypedef struct nand_ecclayout_user nand_ecclayout_t; 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ci#endif /* __MTD_USER_H__ */ 34