tree acf2829c586ee57a492a77b7cf9bf4c30ad43af9
parent 8557fd51c22e4c2109f062decd19de439061ceae
author Thomas Gleixner <[EMAIL PROTECTED]> Mon, 11 Apr 2005 11:19:05 +0100
committer Thomas Gleixner <[EMAIL PROTECTED]> Mon, 23 May 2005 13:17:11 +0200

[MTD] Fix broken user ABI

Move kernel data where it belongs. Previous change broke user abi.

Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]>

 include/linux/mtd/mtd.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
--- a/include/linux/mtd/mtd.h
+++ b/include/linux/mtd/mtd.h
@@ -1,5 +1,5 @@
 /* 
- * $Id: mtd.h,v 1.58 2005/04/01 01:59:54 nico Exp $
+ * $Id: mtd.h,v 1.59 2005/04/11 10:19:02 gleixner Exp $
  *
  * Copyright (C) 1999-2003 David Woodhouse <[EMAIL PROTECTED]> et al.
  *
@@ -70,7 +70,6 @@ struct mtd_info {
 
        u_int32_t oobblock;  // Size of OOB blocks (e.g. 512)
        u_int32_t oobsize;   // Amount of OOB data per block (e.g. 16)
-       u_int32_t oobavail;  // Number of bytes in OOB area available for fs 
        u_int32_t ecctype;
        u_int32_t eccsize;
        
@@ -81,6 +80,7 @@ struct mtd_info {
 
        // oobinfo is a nand_oobinfo structure, which can be set by iotcl 
(MEMSETOOBINFO)
        struct nand_oobinfo oobinfo;
+       u_int32_t oobavail;  // Number of bytes in OOB area available for fs 
 
        /* Data for variable erase regions. If numeraseregions is zero,
         * it means that the whole device has erasesize as given above. 
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to