Message ID | 20100311180627.4824.32286.stgit@angua |
---|---|
State | Not Applicable, archived |
Delegated to: | David Miller |
Headers | show |
diff --git a/drivers/char/viotape.c b/drivers/char/viotape.c index 042c814..f37935c 100644 --- a/drivers/char/viotape.c +++ b/drivers/char/viotape.c @@ -865,7 +865,7 @@ static int viotape_probe(struct vio_dev *vdev, const struct vio_device_id *id) { int i = vdev->unit_address; int j; - struct device_node *node = vdev->dev.archdata.of_node; + struct device_node *node = vdev->dev.of_node; if (i >= VIOTAPE_MAX_TAPE) return -ENODEV;
.archdata.node is being removed from Microblaze, SPARC and PowerPC. Signed-off-by: Grant Likely <grant.likely@secretlab.ca> --- drivers/char/viotape.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html