aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mtd/mtd.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2005-04-11 06:19:05 -0400
committerThomas Gleixner <tglx@mtd.linutronix.de>2005-05-23 07:17:11 -0400
commit65c6e0a657012d104fe42be5f01a7b9b451b687c (patch)
treeacf2829c586ee57a492a77b7cf9bf4c30ad43af9 /include/linux/mtd/mtd.h
parent8557fd51c22e4c2109f062decd19de439061ceae (diff)
[MTD] Fix broken user ABI
Move kernel data where it belongs. Previous change broke user abi. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/mtd/mtd.h')
-rw-r--r--include/linux/mtd/mtd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
index f574cd498816..c50c3f3927d9 100644
--- a/include/linux/mtd/mtd.h
+++ b/include/linux/mtd/mtd.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * $Id: mtd.h,v 1.58 2005/04/01 01:59:54 nico Exp $ 2 * $Id: mtd.h,v 1.59 2005/04/11 10:19:02 gleixner Exp $
3 * 3 *
4 * Copyright (C) 1999-2003 David Woodhouse <dwmw2@infradead.org> et al. 4 * Copyright (C) 1999-2003 David Woodhouse <dwmw2@infradead.org> et al.
5 * 5 *
@@ -70,7 +70,6 @@ struct mtd_info {
70 70
71 u_int32_t oobblock; // Size of OOB blocks (e.g. 512) 71 u_int32_t oobblock; // Size of OOB blocks (e.g. 512)
72 u_int32_t oobsize; // Amount of OOB data per block (e.g. 16) 72 u_int32_t oobsize; // Amount of OOB data per block (e.g. 16)
73 u_int32_t oobavail; // Number of bytes in OOB area available for fs
74 u_int32_t ecctype; 73 u_int32_t ecctype;
75 u_int32_t eccsize; 74 u_int32_t eccsize;
76 75
@@ -81,6 +80,7 @@ struct mtd_info {
81 80
82 // oobinfo is a nand_oobinfo structure, which can be set by iotcl (MEMSETOOBINFO) 81 // oobinfo is a nand_oobinfo structure, which can be set by iotcl (MEMSETOOBINFO)
83 struct nand_oobinfo oobinfo; 82 struct nand_oobinfo oobinfo;
83 u_int32_t oobavail; // Number of bytes in OOB area available for fs
84 84
85 /* Data for variable erase regions. If numeraseregions is zero, 85 /* Data for variable erase regions. If numeraseregions is zero,
86 * it means that the whole device has erasesize as given above. 86 * it means that the whole device has erasesize as given above.