From: Hans de Goede Date: Wed, 5 Mar 2014 19:17:49 +0000 (+0100) Subject: ahci_imx: Put #ifdef CONFIG_PM_SLEEP around suspend / resume functions X-Git-Tag: v3.15-rc1~161^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46ce6b74fdec1a8a8e9b45597e6c7989441682bf;p=pandora-kernel.git ahci_imx: Put #ifdef CONFIG_PM_SLEEP around suspend / resume functions This fixes the following warnings when CONFIG_PM_SLEEP is not set: drivers/ata/ahci_imx.c:284:12: warning: ‘imx_ahci_suspend’ defined but not used [-Wunused-function] drivers/ata/ahci_imx.c:299:12: warning: ‘imx_ahci_resume’ defined but not used [-Wunused-function] Reported-by: Bartlomiej Zolnierkiewicz Cc: Bartlomiej Zolnierkiewicz Signed-off-by: Hans de Goede Signed-off-by: Tejun Heo --- Reading git-diff-tree failed