aboutsummaryrefslogtreecommitdiff
path: root/drivers/spi/pxa2xx_spi_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/pxa2xx_spi_pci.c')
-rw-r--r--drivers/spi/pxa2xx_spi_pci.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/pxa2xx_spi_pci.c b/drivers/spi/pxa2xx_spi_pci.c
index 19752b09e15..378e504f89e 100644
--- a/drivers/spi/pxa2xx_spi_pci.c
+++ b/drivers/spi/pxa2xx_spi_pci.c
@@ -89,9 +89,7 @@ static int __devinit ce4100_spi_probe(struct pci_dev *dev,
goto err_nomem;
pdev->dev.parent = &dev->dev;
-#ifdef CONFIG_OF
pdev->dev.of_node = dev->dev.of_node;
-#endif
ssp = &spi_info->ssp;
ssp->phys_base = pci_resource_start(dev, 0);
ssp->mmio_base = ioremap(phys_beg, phys_len);