Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 38037
b: refs/heads/master
c: b86cc29
h: refs/heads/master
i:
  38035: 9794522
v: v3
  • Loading branch information
Alexey Dobriyan authored and Linus Torvalds committed Oct 3, 2006
1 parent 1532f11 commit a3df6cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4fa902a918518bcdc420bd272d2dd13fcae01581
refs/heads/master: b86cc29dc42203588264d917e88134bdd500b0d7
4 changes: 4 additions & 0 deletions trunk/drivers/ide/pci/sc1200.c
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ static void sc1200_tuneproc (ide_drive_t *drive, byte pio) /* mode=255 means "au
}
}

#ifdef CONFIG_PM
static ide_hwif_t *lookup_pci_dev (ide_hwif_t *prev, struct pci_dev *dev)
{
int h;
Expand Down Expand Up @@ -451,6 +452,7 @@ static int sc1200_resume (struct pci_dev *dev)
}
return 0;
}
#endif

/*
* This gets invoked by the IDE driver once for each channel,
Expand Down Expand Up @@ -499,8 +501,10 @@ static struct pci_driver driver = {
.name = "SC1200_IDE",
.id_table = sc1200_pci_tbl,
.probe = sc1200_init_one,
#ifdef CONFIG_PM
.suspend = sc1200_suspend,
.resume = sc1200_resume,
#endif
};

static int sc1200_ide_init(void)
Expand Down

0 comments on commit a3df6cc

Please sign in to comment.