X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Fchar%2Fviotape.c;h=42f7fa442ff80653c3cbabf9c80bd1b2e05de28d;hb=bc7d352c5e76c74c628a39b99777a1bdddde5e81;hp=1144a04cda6e99e91f18b057be2f92f2630edda0;hpb=6fe70aae0d128339febfabc073ba4c4a03de4f45;p=karo-tx-linux.git diff --git a/drivers/char/viotape.c b/drivers/char/viotape.c index 1144a04cda6e..42f7fa442ff8 100644 --- a/drivers/char/viotape.c +++ b/drivers/char/viotape.c @@ -866,7 +866,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;