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 351d8a375b5..b6589bb3a6c 100644
--- a/drivers/spi/pxa2xx_spi_pci.c
+++ b/drivers/spi/pxa2xx_spi_pci.c
@@ -98,9 +98,7 @@ static int __devinit ce4100_spi_probe(struct pci_dev *dev,
pdev->dev.parent = &dev->dev;
pdev->dev.platform_data = &spi_info->spi_pdata;
-#ifdef CONFIG_OF
pdev->dev.of_node = dev->dev.of_node;
-#endif
pdev->dev.release = plat_dev_release;
spi_pdata->num_chipselect = dev->devfn;