diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-12-10 21:45:36 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2018-12-17 08:26:24 +0100 |
commit | 6809a5f7366ff0db60647bf4a860f4a07942276e (patch) | |
tree | 98b96f0287e9696e266954a8308428e9824f4dc2 /Documentation/devicetree/bindings/mmc/sdhci-am654.txt | |
parent | mmc: sdhci-xenon: Fix timeout checks (diff) | |
download | linux-dev-6809a5f7366ff0db60647bf4a860f4a07942276e.tar.xz linux-dev-6809a5f7366ff0db60647bf4a860f4a07942276e.zip |
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 '')
0 files changed, 0 insertions, 0 deletions