X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=drivers%2Fata%2Fpata_mpc52xx.c;h=6559b606736d8dcf72606ee3265bc686171c706a;hb=eb555cb5b794f4e12a9897f3d46d5a72104cd4a7;hp=03b6ae37a57826729bb6806fc7ba749d4d68f8bf;hpb=b31455e96f0005bd247d70b59428a90413de0c31;p=linux-2.6-microblaze.git diff --git a/drivers/ata/pata_mpc52xx.c b/drivers/ata/pata_mpc52xx.c index 03b6ae37a578..6559b606736d 100644 --- a/drivers/ata/pata_mpc52xx.c +++ b/drivers/ata/pata_mpc52xx.c @@ -683,7 +683,7 @@ static int mpc52xx_ata_probe(struct platform_device *op) struct bcom_task *dmatsk; /* Get ipb frequency */ - ipb_freq = mpc5xxx_get_bus_frequency(op->dev.of_node); + ipb_freq = mpc5xxx_get_bus_frequency(&op->dev); if (!ipb_freq) { dev_err(&op->dev, "could not determine IPB bus frequency\n"); return -ENODEV;