summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/denali.h
diff options
context:
space:
mode:
authorJamie Iles <jamie@jamieiles.com>2011-05-06 16:28:55 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2011-05-25 03:01:49 +0200
commit84457949e4921f15548a9d317a4a4318b3c3af75 (patch)
tree0728755bfc5fb74891a98fdf6e86838f77ea37c3 /drivers/mtd/nand/denali.h
parentmtd: onenand: add missing check (diff)
downloadlinux-84457949e4921f15548a9d317a4a4318b3c3af75.tar.xz
linux-84457949e4921f15548a9d317a4a4318b3c3af75.zip
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 3918bcb1561e..9b875fd23687 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;