]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] aic79xx: fix warnings with CONFIG_PM disabled
authorFUJITA Tomonori <tomof@acm.org>
Sat, 26 Jan 2008 15:08:18 +0000 (00:08 +0900)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 30 Jan 2008 19:03:40 +0000 (13:03 -0600)
commit67eb63364ede1a16ea60b4de0dca64ca35868082
tree6b62d9a9ed3a01b13bc3100e16725b7b1faabb09
parent969ceffb6696ac361db9dbc33c83f855dbdb1528
[SCSI] aic79xx: fix warnings with CONFIG_PM disabled

  CC [M]  drivers/scsi/aic7xxx/aic79xx_osm_pci.o
drivers/scsi/aic7xxx/aic79xx_osm_pci.c:101: warning: 'ahd_linux_pci_dev_suspend' defined but not used
drivers/scsi/aic7xxx/aic79xx_osm_pci.c:121: warning: 'ahd_linux_pci_dev_resume' defined but not used

This moves aic79xx_pci_driver struct, removes some forward
declarations, and adds some ifdef CONFIG_PM.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/aic7xxx/aic79xx.h
drivers/scsi/aic7xxx/aic79xx_core.c
drivers/scsi/aic7xxx/aic79xx_osm_pci.c
drivers/scsi/aic7xxx/aic79xx_pci.c