aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_macio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_macio.c')
-rw-r--r--drivers/ata/pata_macio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_macio.c b/drivers/ata/pata_macio.c
index 211b6438b3a0..c74f13bc9876 100644
--- a/drivers/ata/pata_macio.c
+++ b/drivers/ata/pata_macio.c
@@ -1139,7 +1139,7 @@ static int __devinit pata_macio_attach(struct macio_dev *mdev,
1139 "Failed to allocate private memory\n"); 1139 "Failed to allocate private memory\n");
1140 return -ENOMEM; 1140 return -ENOMEM;
1141 } 1141 }
1142 priv->node = of_node_get(mdev->ofdev.node); 1142 priv->node = of_node_get(mdev->ofdev.dev.of_node);
1143 priv->mdev = mdev; 1143 priv->mdev = mdev;
1144 priv->dev = &mdev->ofdev.dev; 1144 priv->dev = &mdev->ofdev.dev;
1145 1145