git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SCSI] aic79xx: fix warnings with CONFIG_PM disabled
[safe/jmp/linux-2.6]
/
drivers
/
scsi
/
aic7xxx
/
aic79xx_core.c
diff --git
a/drivers/scsi/aic7xxx/aic79xx_core.c
b/drivers/scsi/aic7xxx/aic79xx_core.c
index
a7dd8cd
..
ade0fb8
100644
(file)
--- a/
drivers/scsi/aic7xxx/aic79xx_core.c
+++ b/
drivers/scsi/aic7xxx/aic79xx_core.c
@@
-7175,6
+7175,7
@@
ahd_pause_and_flushwork(struct ahd_softc *ahd)
ahd->flags &= ~AHD_ALL_INTERRUPTS;
}
+#ifdef CONFIG_PM
int
ahd_suspend(struct ahd_softc *ahd)
{
@@
-7197,6
+7198,7
@@
ahd_resume(struct ahd_softc *ahd)
ahd_intr_enable(ahd, TRUE);
ahd_restart(ahd);
}
+#endif
/************************** Busy Target Table *********************************/
/*