summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_platform.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2007-08-10 13:59:33 -0700
committerJeff Garzik <jeff@garzik.org>2007-10-12 14:55:33 -0400
commitb8773531cc54c1ed10c8ec301353ee6b53b601a5 (patch)
treee9117797f4fda7ba1cc294d1fa53b5c854628348 /drivers/ata/pata_platform.c
parent2eb829e934abb10db36ddaacd82603c3cdd98b6d (diff)
downloadlinux-b8773531cc54c1ed10c8ec301353ee6b53b601a5.tar.bz2
libata-add-irq_flags-to-struct-pata_platform_info-fix
Remove unneeded, undesirable cast of void*. Cc: Jeff Garzik <jeff@garzik.org> Cc: Sonic Zhang <sonic.adi@gmail.com> Cc: Tejun Heo <htejun@gmail.com> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pata_platform.c')
-rw-r--r--drivers/ata/pata_platform.c2
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)
ap->ioaddr.altstatus_addr = ap->ioaddr.ctl_addr;
- pp_info = (struct pata_platform_info *)(pdev->dev.platform_data);
+ pp_info = pdev->dev.platform_data;
pata_platform_setup_port(&ap->ioaddr, pp_info);
/* activate */