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>
This commit is contained in:

committed by
David Woodhouse

parent
eff3bba61f
commit
84457949e4
@@ -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;
|
||||
|
Reference in New Issue
Block a user