diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ata/pata_platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_platform.c b/drivers/ata/pata_platform.c index 37e5158391da..9dc628931e99 100644 --- a/drivers/ata/pata_platform.c +++ b/drivers/ata/pata_platform.c | |||
@@ -207,7 +207,7 @@ static int __devinit pata_platform_probe(struct platform_device *pdev) | |||
207 | 207 | ||
208 | ap->ioaddr.altstatus_addr = ap->ioaddr.ctl_addr; | 208 | ap->ioaddr.altstatus_addr = ap->ioaddr.ctl_addr; |
209 | 209 | ||
210 | pp_info = (struct pata_platform_info *)(pdev->dev.platform_data); | 210 | pp_info = pdev->dev.platform_data; |
211 | pata_platform_setup_port(&ap->ioaddr, pp_info); | 211 | pata_platform_setup_port(&ap->ioaddr, pp_info); |
212 | 212 | ||
213 | /* activate */ | 213 | /* activate */ |