162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org> 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * This program is free software; you can redistribute it and/or modify 662306a36Sopenharmony_ci * it under the terms of the GNU General Public License as published by 762306a36Sopenharmony_ci * the Free Software Foundation; either version 2 of the License, or 862306a36Sopenharmony_ci * (at your option) any later version. 962306a36Sopenharmony_ci * 1062306a36Sopenharmony_ci * This program is distributed in the hope that it will be useful, 1162306a36Sopenharmony_ci * but WITHOUT ANY WARRANTY; without even the implied warranty of 1262306a36Sopenharmony_ci * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1362306a36Sopenharmony_ci * GNU General Public License for more details. 1462306a36Sopenharmony_ci * 1562306a36Sopenharmony_ci * You should have received a copy of the GNU General Public License 1662306a36Sopenharmony_ci * along with this program; if not, write to the Free Software 1762306a36Sopenharmony_ci * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 1862306a36Sopenharmony_ci * 1962306a36Sopenharmony_ci */ 2062306a36Sopenharmony_ci 2162306a36Sopenharmony_ci#ifndef __MTD_USER_H__ 2262306a36Sopenharmony_ci#define __MTD_USER_H__ 2362306a36Sopenharmony_ci 2462306a36Sopenharmony_ci/* This file is blessed for inclusion by userspace */ 2562306a36Sopenharmony_ci#include <mtd/mtd-abi.h> 2662306a36Sopenharmony_ci 2762306a36Sopenharmony_citypedef struct mtd_info_user mtd_info_t; 2862306a36Sopenharmony_citypedef struct erase_info_user erase_info_t; 2962306a36Sopenharmony_citypedef struct region_info_user region_info_t; 3062306a36Sopenharmony_citypedef struct nand_oobinfo nand_oobinfo_t; 3162306a36Sopenharmony_citypedef struct nand_ecclayout_user nand_ecclayout_t; 3262306a36Sopenharmony_ci 3362306a36Sopenharmony_ci#endif /* __MTD_USER_H__ */ 34