diff options
Diffstat (limited to 'drivers/ata/pata_macio.c')
-rw-r--r-- | drivers/ata/pata_macio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_macio.c b/drivers/ata/pata_macio.c index 25df50f51c04..b5b48e703cb7 100644 --- a/drivers/ata/pata_macio.c +++ b/drivers/ata/pata_macio.c | |||
@@ -1140,7 +1140,7 @@ static int __devinit pata_macio_attach(struct macio_dev *mdev, | |||
1140 | "Failed to allocate private memory\n"); | 1140 | "Failed to allocate private memory\n"); |
1141 | return -ENOMEM; | 1141 | return -ENOMEM; |
1142 | } | 1142 | } |
1143 | priv->node = of_node_get(mdev->ofdev.node); | 1143 | priv->node = of_node_get(mdev->ofdev.dev.of_node); |
1144 | priv->mdev = mdev; | 1144 | priv->mdev = mdev; |
1145 | priv->dev = &mdev->ofdev.dev; | 1145 | priv->dev = &mdev->ofdev.dev; |
1146 | 1146 | ||