21 #include <linux/pci.h>
22 #include <linux/slab.h>
24 #include <linux/module.h>
28 #define DRIVER_NAME "dw_spi_pci"
83 if (pdev->
device == 0x0800) {
94 pci_set_drvdata(pdev, dwpci);
110 struct dw_spi_pci *dwpci = pci_get_drvdata(pdev);
112 pci_set_drvdata(pdev,
NULL);
123 struct dw_spi_pci *dwpci = pci_get_drvdata(pdev);
137 struct dw_spi_pci *dwpci = pci_get_drvdata(pdev);
148 #define spi_suspend NULL
149 #define spi_resume NULL
161 .probe = spi_pci_probe,