X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fmtd%2Fflashchip.h;h=7e042bf5fd0b2a17ad76f2f0ec2b2fd0074bd66e;hb=5e3b93f248c98873cc843e83092bb8da92ac85a2;hp=c3ac4df7273f9b9262d282ca49ff99e6b0b9665e;hpb=a91482bdcc2e0f6035702e46f1b99043a0893346;p=linux-2.6.git diff --git a/include/linux/mtd/flashchip.h b/include/linux/mtd/flashchip.h index c3ac4df72..7e042bf5f 100644 --- a/include/linux/mtd/flashchip.h +++ b/include/linux/mtd/flashchip.h @@ -6,7 +6,7 @@ * * (C) 2000 Red Hat. GPLd. * - * $Id: flashchip.h,v 1.14 2004/06/15 16:44:59 nico Exp $ + * $Id: flashchip.h,v 1.9 2003/04/30 11:15:22 dwmw2 Exp $ * */ @@ -43,8 +43,7 @@ typedef enum { /* NOTE: confusingly, this can be used to refer to more than one chip at a time, - if they're interleaved. This can even refer to individual partitions on - the same physical chip when present. */ + if they're interleaved. */ struct flchip { unsigned long start; /* Offset within the map */ @@ -62,7 +61,6 @@ struct flchip { int write_suspended:1; int erase_suspended:1; - unsigned long in_progress_block_addr; spinlock_t *mutex; spinlock_t _spinlock; /* We do it like this because sometimes they'll be shared. */ @@ -71,17 +69,8 @@ struct flchip { int word_write_time; int buffer_write_time; int erase_time; - - void *priv; }; -/* This is used to handle contention on write/erase operations - between partitions of the same physical chip. */ -struct flchip_shared { - spinlock_t lock; - struct flchip *writing; - struct flchip *erasing; -}; #endif /* __MTD_FLASHCHIP_H__ */