forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
2eb829e934
commit
b8773531cc
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user