Fix build error without CONFIG_AMLOGIC_MMC.
Change-Id: I3a76432c4441b50e372c4393030f191a9cec9b4d
Fixes: a0ed97ec7c26 ("emmc: ffu: add emmc ffu update support [1/1]")
Fixes: 4ee9cb927f1c ("sdio: optimize sdio suspend/resume [1/1]")
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
struct mmc_data data = {0};
#ifdef CONFIG_AMLOGIC_MMC
struct mmc_command sbc = {0};
+ struct scatterlist *ffu_sg = NULL;
#endif
struct mmc_request mrq = {NULL};
struct scatterlist sg;
- struct scatterlist *ffu_sg = NULL;
int err;
int is_rpmb = false;
u32 status = 0;
{
mmc_claim_host(host);
+#ifdef CONFIG_AMLOGIC_MMC
if (host->wifi_down_f)
host->pm_flags |= MMC_PM_KEEP_POWER;
+#endif
if (mmc_card_keep_power(host) && mmc_card_wake_sdio_irq(host))
sdio_disable_wide(host->card);