diff options
| author | Florian Fainelli <[email protected]> | 2015-07-14 20:03:33 +0000 |
|---|---|---|
| committer | Tejun Heo <[email protected]> | 2015-07-28 18:02:13 +0000 |
| commit | 8b34fe593ec6392aaef74c244fe2c091f424dee8 (patch) | |
| tree | d205a065f3612a751a7a098d2b5778be3df1a419 /tools/perf/scripts/python/sched-migration.py | |
| parent | libata: Do not blacklist M510DC (diff) | |
| download | kernel-8b34fe593ec6392aaef74c244fe2c091f424dee8.tar.gz kernel-8b34fe593ec6392aaef74c244fe2c091f424dee8.zip | |
ata: ahci_brcmstb: Fix warnings with CONFIG_PM_SLEEP=n
When CONFIG_PM_SLEEP is disabled, brcm_ahci_{suspend,resume} are not
used, which causes such a build warning to occur:
CC drivers/ata/ahci_brcmstb.o
drivers/ata/ahci_brcmstb.c:212:12: warning: 'brcm_ahci_suspend' defined
but not used [-Wunused-function]
static int brcm_ahci_suspend(struct device *dev)
^
drivers/ata/ahci_brcmstb.c:224:12: warning: 'brcm_ahci_resume' defined
but not used [-Wunused-function]
static int brcm_ahci_resume(struct device *dev)
^
LD drivers/ata/built-in.o
Fixes: 766a2d979632 ("ata: add Broadcom AHCI SATA3 driver for STB chips")
Signed-off-by: Florian Fainelli <[email protected]>
Acked-by: Brian Norris <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
