* [patch 04/25] libata-add-irq_flags-to-struct-pata_platform_info-fix
@ 2007-08-10 20:59 akpm
2007-08-15 8:28 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2007-08-10 20:59 UTC (permalink / raw)
To: jeff; +Cc: linux-ide, akpm, alan, htejun, sonic.adi
From: Andrew Morton <akpm@linux-foundation.org>
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>
---
drivers/ata/pata_platform.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN drivers/ata/pata_platform.c~libata-add-irq_flags-to-struct-pata_platform_info-fix drivers/ata/pata_platform.c
--- a/drivers/ata/pata_platform.c~libata-add-irq_flags-to-struct-pata_platform_info-fix
+++ a/drivers/ata/pata_platform.c
@@ -209,7 +209,7 @@ static int __devinit pata_platform_probe
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 */
_
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-15 8:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-10 20:59 [patch 04/25] libata-add-irq_flags-to-struct-pata_platform_info-fix akpm
2007-08-15 8:28 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).