Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158524
b: refs/heads/master
c: c984123
h: refs/heads/master
v: v3
  • Loading branch information
Marcin Slusarz authored and Jeff Garzik committed Sep 11, 2009
1 parent 04fed8e commit 5033def
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 78d5ae39af19a02a3d16213c0f62930d9a5d25f7
refs/heads/master: c984123c7a888731b7e971e1c878b6f2b716b292
4 changes: 1 addition & 3 deletions trunk/drivers/ata/pata_rz1000.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,14 @@ static int rz1000_fifo_disable(struct pci_dev *pdev)

static int rz1000_init_one (struct pci_dev *pdev, const struct pci_device_id *ent)
{
static int printed_version;
static const struct ata_port_info info = {
.flags = ATA_FLAG_SLAVE_POSS,
.pio_mask = ATA_PIO4,
.port_ops = &rz1000_port_ops
};
const struct ata_port_info *ppi[] = { &info, NULL };

if (!printed_version++)
printk(KERN_DEBUG DRV_NAME " version " DRV_VERSION "\n");
printk_once(KERN_DEBUG DRV_NAME " version " DRV_VERSION "\n");

if (rz1000_fifo_disable(pdev) == 0)
return ata_pci_sff_init_one(pdev, ppi, &rz1000_sht, NULL);
Expand Down

0 comments on commit 5033def

Please sign in to comment.