]> Pileus Git - ~andy/linux/commit
[SCSI] isci: add CONFIG_PM_SLEEP to suspend/resume functions
authorJingoo Han <jg1.han@samsung.com>
Tue, 26 Mar 2013 07:01:38 +0000 (16:01 +0900)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 11 Apr 2013 23:01:53 +0000 (16:01 -0700)
commit4eeb587e4b62749c544e0e3bf62c0934d1b3852b
treed77b848206a0dc750364c70506543e5a5252cafb
parent7a3ad3920de780e3da1dacabe3c0abcd5b260655
[SCSI] isci: add CONFIG_PM_SLEEP to suspend/resume functions

Add CONFIG_PM_SLEEP to suspend/resume functions to fix the following
build warning when CONFIG_PM_SLEEP is not selected. This is because
sleep PM callbacks defined by SIMPLE_DEV_PM_OPS are only used when
the CONFIG_PM_SLEEP is enabled.

drivers/scsi/isci/init.c:725:12: warning: 'isci_suspend' defined but not used [-Wunused-function]
drivers/scsi/isci/init.c:743:12: warning: 'isci_resume' defined but not used [-Wunused-function]

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Lukasz Dorau <lukasz.dorau@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/isci/init.c