Skip to content
Commit 9d2d2430 authored by Ulf Hansson's avatar Ulf Hansson
Browse files

mmc: core: Move mmc_of_parse_voltage() to host.c



MMC OF parsing functions, which parses various host DT properties, should
stay close to each other. Therefore, let's move mmc_of_parse_voltage()
close to mmc_of_parse() into host.c.

Additionally, there is no reason to build the code only when CONFIG_OF is
set, as there should be stub functions for the OF helpers that is being
used, so let's drop this condition as well.

Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 3958790e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment