]> err.no Git - linux-2.6/blobdiff - drivers/scsi/aic7xxx/aic79xx_pci.c
[SCSI] aic79xx: fix warnings with CONFIG_PM disabled
[linux-2.6] / drivers / scsi / aic7xxx / aic79xx_pci.c
index 7a203a90601ae06c4e434f36b3f719e5a3eea204..df853676e66a8d7174c81862e65559c99fd45121 100644 (file)
@@ -389,6 +389,7 @@ ahd_pci_config(struct ahd_softc *ahd, struct ahd_pci_identity *entry)
        return error;
 }
 
+#ifdef CONFIG_PM
 void
 ahd_pci_suspend(struct ahd_softc *ahd)
 {
@@ -415,6 +416,7 @@ ahd_pci_resume(struct ahd_softc *ahd)
        ahd_pci_write_config(ahd->dev_softc, CSIZE_LATTIME,
                             ahd->suspend_state.pci_state.csize_lattime, /*bytes*/1);
 }
+#endif
 
 /*
  * Perform some simple tests that should catch situations where