]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
[MTD] Fixed signed 1bit bitfield
authorBen Dooks <ben@simtec.co.uk>
Mon, 14 Mar 2005 18:27:18 +0000 (18:27 +0000)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Mon, 23 May 2005 10:51:30 +0000 (12:51 +0200)
Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/mtd/flashchip.h

index e778a1ab23c4fda9899d93800ed76fe092923b29..675776fa3e27159a85b4a4792ca00986b4417eb1 100644 (file)
@@ -6,7 +6,7 @@
  *
  * (C) 2000 Red Hat. GPLd.
  *
- * $Id: flashchip.h,v 1.16 2005/02/08 17:11:15 nico Exp $
+ * $Id: flashchip.h,v 1.17 2005/03/14 18:27:15 bjd Exp $
  *
  */
 
@@ -63,8 +63,8 @@ struct flchip {
        flstate_t state;
        flstate_t oldstate;
 
-       int write_suspended:1;
-       int erase_suspended:1;
+       unsigned int write_suspended:1;
+       unsigned int erase_suspended:1;
        unsigned long in_progress_block_addr;
 
        spinlock_t *mutex;