diff options
author | Jamie Iles <jamie@jamieiles.com> | 2011-05-06 16:28:55 +0200 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2011-05-25 03:01:49 +0200 |
commit | 84457949e4921f15548a9d317a4a4318b3c3af75 (patch) | |
tree | 0728755bfc5fb74891a98fdf6e86838f77ea37c3 /drivers/mtd/nand/denali.h | |
parent | mtd: onenand: add missing check (diff) | |
download | linux-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.h | 2 |
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; |