Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0397bad5b413226b8f55f599b185ab506d13b078
Commit:     0397bad5b413226b8f55f599b185ab506d13b078
Parent:     e1e143cf976ed635a45b768b4a26684173320d6f
Author:     Alexey Dobriyan <[EMAIL PROTECTED]>
AuthorDate: Thu May 3 23:44:59 2007 +0400
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Wed May 9 20:15:46 2007 -0400

    pata_scc: fix compilation
    
    Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
---
 drivers/ata/pata_scc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/ata/pata_scc.c b/drivers/ata/pata_scc.c
index 5df354d..203f463 100644
--- a/drivers/ata/pata_scc.c
+++ b/drivers/ata/pata_scc.c
@@ -1142,14 +1142,14 @@ static int scc_init_one (struct pci_dev *pdev, const 
struct pci_device_id *ent)
        static int printed_version;
        unsigned int board_idx = (unsigned int) ent->driver_data;
        const struct ata_port_info *ppi[] = { &scc_port_info[board_idx], NULL };
-       struct device *dev = &pdev->dev;
+       struct ata_host *host;
        int rc;
 
        if (!printed_version++)
                dev_printk(KERN_DEBUG, &pdev->dev,
                           "version " DRV_VERSION "\n");
 
-       host = ata_port_alloc_pinfo(&pdev->dev, ppi, 1);
+       host = ata_host_alloc_pinfo(&pdev->dev, ppi, 1);
        if (!host)
                return -ENOMEM;
 
-
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