aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2020-01-07 23:14:59 +0100
committerJens Axboe <[email protected]>2020-01-16 21:49:07 -0700
commited87ad196dab6a757352d39c4c3fbc599340fe2c (patch)
tree54cb87b771cde9eb397bdc56e304a6e2c9e52ec7 /tools/perf/scripts/python/export-to-sqlite.py
parentc345ec6a50e9f5d2800da2179adc8f6ea1dfe042 (diff)
ata: brcm: mark PM functions as __maybe_unused
The new shutdown callback causes a link failure: drivers/ata/ahci_brcm.c: In function 'brcm_ahci_shutdown': drivers/ata/ahci_brcm.c:552:8: error: implicit declaration of function 'brcm_ahci_suspend'; did you mean 'brcm_ahci_shutdown'? [-Werror=implicit-function-declaration] ret = brcm_ahci_suspend(&pdev->dev); ^~~~~~~~~~~~~~~~~ Remove the incorrect #ifdef and use __maybe_unused annotations instead to make this more robust. Fixes: 7de9b1688c1d ("ata: ahci_brcm: Add a shutdown callback") Acked-by: Florian Fainelli <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions