diff options
author | Jamie Iles <jamie@jamieiles.com> | 2011-05-06 14:28:55 (GMT) |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2011-05-25 01:01:49 (GMT) |
commit | 84457949e4921f15548a9d317a4a4318b3c3af75 (patch) | |
tree | 0728755bfc5fb74891a98fdf6e86838f77ea37c3 /drivers/mtd/nand/denali.h | |
parent | eff3bba61fc19a64a1ca56343e38b6506bef9dea (diff) | |
download | linux-84457949e4921f15548a9d317a4a4318b3c3af75.tar.xz |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/denali.h b/drivers/mtd/nand/denali.h index 3918bcb..9b875fd 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; |