diff options
author | Maxim Levitsky <maximlevitsky@gmail.com> | 2010-10-15 11:20:46 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-10-24 20:32:21 -0400 |
commit | 9bf70717a589b4b7f866d733b48554a04ea4f6e8 (patch) | |
tree | d9861852a3eb64214c38e4063234b4d337159a23 /drivers/mtd/nand/r852.h | |
parent | 12aebf3e1ad7dc8b076dd9674ca98f1aa6859fcd (diff) |
mtd: r852: remove useless pci powerup/down from suspend/resume routines
It turns out that pci core now handles these, so this code is redundant
and can even cause bugs
Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/nand/r852.h')
-rw-r--r-- | drivers/mtd/nand/r852.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mtd/nand/r852.h b/drivers/mtd/nand/r852.h index 8096cc280c73..e6a21d9d22c6 100644 --- a/drivers/mtd/nand/r852.h +++ b/drivers/mtd/nand/r852.h | |||
@@ -140,8 +140,6 @@ struct r852_device { | |||
140 | /* interrupt handling */ | 140 | /* interrupt handling */ |
141 | spinlock_t irqlock; /* IRQ protecting lock */ | 141 | spinlock_t irqlock; /* IRQ protecting lock */ |
142 | int irq; /* irq num */ | 142 | int irq; /* irq num */ |
143 | int insuspend; /* device is suspended */ | ||
144 | |||
145 | /* misc */ | 143 | /* misc */ |
146 | void *tmp_buffer; /* temporary buffer */ | 144 | void *tmp_buffer; /* temporary buffer */ |
147 | uint8_t ctlreg; /* cached contents of control reg */ | 145 | uint8_t ctlreg; /* cached contents of control reg */ |