diff options
Diffstat (limited to 'drivers/sbus')
-rw-r--r-- | drivers/sbus/sbus.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/sbus/sbus.c b/drivers/sbus/sbus.c index 2553629ec15d..c37d7c2587ff 100644 --- a/drivers/sbus/sbus.c +++ b/drivers/sbus/sbus.c | |||
@@ -210,6 +210,10 @@ static void __init walk_children(struct device_node *dp, struct sbus_dev *parent | |||
210 | 210 | ||
211 | sdev->bus = sbus; | 211 | sdev->bus = sbus; |
212 | sdev->parent = parent; | 212 | sdev->parent = parent; |
213 | sdev->ofdev.dev.archdata.iommu = | ||
214 | sbus->ofdev.dev.archdata.iommu; | ||
215 | sdev->ofdev.dev.archdata.stc = | ||
216 | sbus->ofdev.dev.archdata.stc; | ||
213 | 217 | ||
214 | fill_sbus_device(dp, sdev); | 218 | fill_sbus_device(dp, sdev); |
215 | 219 | ||
@@ -269,6 +273,11 @@ static void __init build_one_sbus(struct device_node *dp, int num_sbus) | |||
269 | 273 | ||
270 | sdev->bus = sbus; | 274 | sdev->bus = sbus; |
271 | sdev->parent = NULL; | 275 | sdev->parent = NULL; |
276 | sdev->ofdev.dev.archdata.iommu = | ||
277 | sbus->ofdev.dev.archdata.iommu; | ||
278 | sdev->ofdev.dev.archdata.stc = | ||
279 | sbus->ofdev.dev.archdata.stc; | ||
280 | |||
272 | fill_sbus_device(dev_dp, sdev); | 281 | fill_sbus_device(dev_dp, sdev); |
273 | 282 | ||
274 | walk_children(dev_dp, sdev, sbus); | 283 | walk_children(dev_dp, sdev, sbus); |