Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 192613
b: refs/heads/master
c: 904924b
h: refs/heads/master
i:
  192611: cf4df9d
v: v3
  • Loading branch information
Tejun Heo authored and Jeff Garzik committed May 15, 2010
1 parent 7e921bd commit c567b32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c4acf99bdebb84b21cf2d12521f990bbfe5d5500
refs/heads/master: 904924b020c794133607536b346aae268584d0af
12 changes: 1 addition & 11 deletions trunk/drivers/ata/pata_sch.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,22 +174,12 @@ static int __devinit sch_init_one(struct pci_dev *pdev,
{
static int printed_version;
const struct ata_port_info *ppi[] = { &sch_port_info, NULL };
struct ata_host *host;
int rc;

if (!printed_version++)
dev_printk(KERN_DEBUG, &pdev->dev,
"version " DRV_VERSION "\n");

/* enable device and prepare host */
rc = pcim_enable_device(pdev);
if (rc)
return rc;
rc = ata_pci_sff_prepare_host(pdev, ppi, &host);
if (rc)
return rc;
pci_set_master(pdev);
return ata_pci_sff_activate_host(host, ata_sff_interrupt, &sch_sht);
return ata_pci_sff_init_one(pdev, ppi, &sch_sht, NULL, 0);
}

static int __init sch_init(void)
Expand Down

0 comments on commit c567b32

Please sign in to comment.