Skip to content

Commit

Permalink
[MTD] Fix broken user ABI
Browse files Browse the repository at this point in the history
Move kernel data where it belongs. Previous change broke user abi.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Thomas Gleixner authored and Thomas Gleixner committed May 23, 2005
1 parent 8557fd5 commit 65c6e0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/linux/mtd/mtd.h
Original file line number Diff line number Diff line change
@@ -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 <dwmw2@infradead.org> et al.
*
Expand Down Expand Up @@ -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;

Expand All @@ -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.
Expand Down

0 comments on commit 65c6e0a

Please sign in to comment.