summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/denali.h
diff options
context:
space:
mode:
authorJamie Iles <jamie@jamieiles.com>2011-05-06 15:28:55 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2011-05-25 02:01:49 +0100
commit84457949e4921f15548a9d317a4a4318b3c3af75 (patch)
tree0728755bfc5fb74891a98fdf6e86838f77ea37c3 /drivers/mtd/nand/denali.h
parenteff3bba61fc19a64a1ca56343e38b6506bef9dea (diff)
mtd: denali: convert to generic DMA API
Rather than using the PCI specific DMA API, convert to the generic DMA API so that we can use the Denali NAND controller on other bus types. Signed-off-by: Jamie Iles <jamie@jamieiles.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/nand/denali.h')
-rw-r--r--drivers/mtd/nand/denali.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/denali.h b/drivers/mtd/nand/denali.h
index 3918bcb1561..9b875fd2368 100644
--- a/drivers/mtd/nand/denali.h
+++ b/drivers/mtd/nand/denali.h
@@ -732,7 +732,7 @@ struct denali_nand_info {
int status;
int platform;
struct nand_buf buf;
- struct pci_dev *dev;
+ struct device *dev;
int total_used_banks;
uint32_t block; /* stored for future use */
uint16_t page;