diff options
Diffstat (limited to 'drivers/of/of_spi.c')
-rw-r--r-- | drivers/of/of_spi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/of/of_spi.c b/drivers/of/of_spi.c index f65f48b98448..f3119a0836af 100644 --- a/drivers/of/of_spi.c +++ b/drivers/of/of_spi.c | |||
@@ -79,6 +79,7 @@ void of_register_spi_devices(struct spi_master *master, struct device_node *np) | |||
79 | 79 | ||
80 | /* Store a pointer to the node in the device structure */ | 80 | /* Store a pointer to the node in the device structure */ |
81 | of_node_get(nc); | 81 | of_node_get(nc); |
82 | spi->dev.of_node = nc; | ||
82 | spi->dev.archdata.of_node = nc; | 83 | spi->dev.archdata.of_node = nc; |
83 | 84 | ||
84 | /* Register the new device */ | 85 | /* Register the new device */ |