aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/r852.h
diff options
context:
space:
mode:
authorMaxim Levitsky <maximlevitsky@gmail.com>2010-10-15 17:20:46 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-10-25 01:32:21 +0100
commit9bf70717a589b4b7f866d733b48554a04ea4f6e8 (patch)
treed9861852a3eb64214c38e4063234b4d337159a23 /drivers/mtd/nand/r852.h
parentmtd: blktrans: fix a race vs kthread_stop (diff)
downloadlinux-dev-9bf70717a589b4b7f866d733b48554a04ea4f6e8.tar.xz
linux-dev-9bf70717a589b4b7f866d733b48554a04ea4f6e8.zip
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.h2
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 {
/* interrupt handling */
spinlock_t irqlock; /* IRQ protecting lock */
int irq; /* irq num */
- int insuspend; /* device is suspended */
-
/* misc */
void *tmp_buffer; /* temporary buffer */
uint8_t ctlreg; /* cached contents of control reg */