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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_macio.c b/drivers/ata/pata_macio.c
index 25df50f51c04..76640ac76888 100644
--- a/drivers/ata/pata_macio.c
+++ b/drivers/ata/pata_macio.c
@@ -1110,7 +1110,7 @@ static int __devinit pata_macio_common_init(struct pata_macio_priv *priv,
1110 1110
1111 /* Start it up */ 1111 /* Start it up */
1112 priv->irq = irq; 1112 priv->irq = irq;
1113 return ata_host_activate(priv->host, irq, ata_sff_interrupt, 0, 1113 return ata_host_activate(priv->host, irq, ata_bmdma_interrupt, 0,
1114 &pata_macio_sht); 1114 &pata_macio_sht);
1115} 1115}
1116 1116
@@ -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