diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-12-10 23:45:36 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2018-12-17 10:26:24 +0300 |
commit | 6809a5f7366ff0db60647bf4a860f4a07942276e (patch) | |
tree | 98b96f0287e9696e266954a8308428e9824f4dc2 /crypto/aead.c | |
parent | 0e6e7c2ff397e1bbebc882ca3132148aaaef1ddd (diff) | |
download | linux-6809a5f7366ff0db60647bf4a860f4a07942276e.tar.xz |
mmc: sdhci-msm: avoid unused function warning
The newly added sdhci_msm_restore_sdr_dll_config() function is only called
if CONFIG_PM is enabled:
drivers/mmc/host/sdhci-msm.c:1050:12: error:
'sdhci_msm_restore_sdr_dll_config' defined but not used
[-Werror=unused-function]
Better remove the incorrect #ifdef altogether and just use __maybe_unused,
which is harder to get wrong.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'crypto/aead.c')
0 files changed, 0 insertions, 0 deletions