aboutsummaryrefslogtreecommitdiff
path: root/include/mtd/mtd-user.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-06-06 14:22:16 -0400
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-06-07 08:03:29 +0300
commitf507ec5e6be795fcb67e472ce98fd084ac9bb1d1 (patch)
tree3a570a900a512da96f3722c9b33d8917bc18908c /include/mtd/mtd-user.h
parent0c9b09bc1e1b0aad1877fd3fbb23421f9c229123 (diff)
include/mtd: sync with kernel
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'include/mtd/mtd-user.h')
-rw-r--r--include/mtd/mtd-user.h19
1 files changed, 16 insertions, 3 deletions
diff --git a/include/mtd/mtd-user.h b/include/mtd/mtd-user.h
index 713f34d..83327c8 100644
--- a/include/mtd/mtd-user.h
+++ b/include/mtd/mtd-user.h
@@ -1,7 +1,20 @@
/*
- * $Id: mtd-user.h,v 1.2 2004/05/05 14:44:57 dwmw2 Exp $
+ * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
- * MTD ABI header for use by user space only.
*/
#ifndef __MTD_USER_H__
@@ -16,6 +29,6 @@ typedef struct mtd_info_user mtd_info_t;
typedef struct erase_info_user erase_info_t;
typedef struct region_info_user region_info_t;
typedef struct nand_oobinfo nand_oobinfo_t;
-typedef struct nand_ecclayout nand_ecclayout_t;
+typedef struct nand_ecclayout_user nand_ecclayout_t;
#endif /* __MTD_USER_H__ */