diff options
Diffstat (limited to 'drivers/spi/xilinx_spi_of.c')
-rw-r--r-- | drivers/spi/xilinx_spi_of.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/spi/xilinx_spi_of.c b/drivers/spi/xilinx_spi_of.c index 4654805b08d8..f53d3f6b9f61 100644 --- a/drivers/spi/xilinx_spi_of.c +++ b/drivers/spi/xilinx_spi_of.c | |||
@@ -29,6 +29,7 @@ | |||
29 | #include <linux/io.h> | 29 | #include <linux/io.h> |
30 | #include <linux/slab.h> | 30 | #include <linux/slab.h> |
31 | 31 | ||
32 | #include <linux/of_address.h> | ||
32 | #include <linux/of_platform.h> | 33 | #include <linux/of_platform.h> |
33 | #include <linux/of_device.h> | 34 | #include <linux/of_device.h> |
34 | #include <linux/of_spi.h> | 35 | #include <linux/of_spi.h> |
@@ -80,9 +81,6 @@ static int __devinit xilinx_spi_of_probe(struct of_device *ofdev, | |||
80 | 81 | ||
81 | dev_set_drvdata(&ofdev->dev, master); | 82 | dev_set_drvdata(&ofdev->dev, master); |
82 | 83 | ||
83 | /* Add any subnodes on the SPI bus */ | ||
84 | of_register_spi_devices(master, ofdev->dev.of_node); | ||
85 | |||
86 | return 0; | 84 | return 0; |
87 | } | 85 | } |
88 | 86 | ||