Home
last modified time | relevance | path

Searched hist:d7fb9c24209556478e65211d7a1f056f2d43cceb (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/mmc/host/
H A Dsdhci-pltfm.hdiff d7fb9c24209556478e65211d7a1f056f2d43cceb Tue Jan 26 10:43:13 CET 2021 Ulf Hansson <ulf.hansson@linaro.org> mmc: sdhci-pltfm: Fix linking err for sdhci-brcmstb

The implementation of sdhci_pltfm_suspend() is only available when
CONFIG_PM_SLEEP is set, which triggers a linking error:

"undefined symbol: sdhci_pltfm_suspend" when building sdhci-brcmstb.c.

Fix this by implementing the missing stubs when CONFIG_PM_SLEEP is unset.

Reported-by: Arnd Bergmann <arnd@arndb.de>
Suggested-by: Florian Fainelli <f.fainelli@gmail.com>
Fixes: 5b191dcba719 ("mmc: sdhci-brcmstb: Fix mmc timeout errors on S5 suspend")
Cc: stable@vger.kernel.org
Tested-By: Nicolas Schichan <nschichan@freeebox.fr>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>