mmc: sdhci-spear: Simplify by adding build dependency to CONFIG_OF
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 4 Mar 2015 13:57:44 +0000 (14:57 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 23 Mar 2015 13:13:45 +0000 (14:13 +0100)
commitbbd7f0a20f76d079199d6d749cb3da07d345bae3
tree9424dd7e0594bf68219ec88a9613b50648d80e04
parent83f13cc9af9822cacc6644ee3c63c81f3930ddad
mmc: sdhci-spear: Simplify by adding build dependency to CONFIG_OF

This driver is used on SoCs which are using CONFIG_OF. By adding a
compile dependency in the Kconfig, it enables us to simplify some code.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/Kconfig
drivers/mmc/host/sdhci-spear.c