mmc-utils: Make functions static for local scope enforcement

Run Sparse and fix its warnings.  Apparently, running make C=1 is rarely
done, so make running sparse default.

Signed-off-by: Avri Altman <avri.altman@wdc.com>
Link: https://lore.kernel.org/r/20240706171412.1613019-1-avri.altman@wdc.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
5 files changed