Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b8773531cc54c1ed10c8ec301353ee6b53b601a5
Commit:     b8773531cc54c1ed10c8ec301353ee6b53b601a5
Parent:     2eb829e934abb10db36ddaacd82603c3cdd98b6d
Author:     Andrew Morton <[EMAIL PROTECTED]>
AuthorDate: Fri Aug 10 13:59:33 2007 -0700
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Fri Oct 12 14:55:33 2007 -0400

    libata-add-irq_flags-to-struct-pata_platform_info-fix
    
    Remove unneeded, undesirable cast of void*.
    
    Cc: Jeff Garzik <[EMAIL PROTECTED]>
    Cc: Sonic Zhang <[EMAIL PROTECTED]>
    Cc: Tejun Heo <[EMAIL PROTECTED]>
    Cc: Alan Cox <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
---
 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 37e5158..9dc6289 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 */
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to