diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2007-08-10 16:59:33 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-12 14:55:33 -0400 |
commit | b8773531cc54c1ed10c8ec301353ee6b53b601a5 (patch) | |
tree | e9117797f4fda7ba1cc294d1fa53b5c854628348 /drivers/ata | |
parent | 2eb829e934abb10db36ddaacd82603c3cdd98b6d (diff) |
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')
-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 */ |