mmc: Fix a potential warning in xPL
authorTom Rini <trini@konsulko.com>
Wed, 1 Oct 2025 20:30:41 +0000 (14:30 -0600)
committerPeng Fan <peng.fan@nxp.com>
Fri, 10 Oct 2025 02:46:40 +0000 (10:46 +0800)
commit6304cfa5a7ea57725700556f8f64197a75f93066
treeaf839c11b0988a85fd9a51df2491a410624e24a1
parent0524f40947b4dfdd15d1905c6041ef0579a25093
mmc: Fix a potential warning in xPL

When xPL_MMC_WRITE is set but also xPL_MMC_TINY is set, the function
sd_read_ssr may be unused. Guard it appropriately.

Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/mmc/mmc.c