]> git.baikalelectronics.ru Git - uboot.git/commit
mmc: mtk-sd: fix configuration option check
authorFabien Parent <fparent@baylibre.com>
Sun, 24 Mar 2019 15:46:34 +0000 (16:46 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 23 Apr 2019 21:57:25 +0000 (17:57 -0400)
commitce10842730ea38cabb681a09633053fc4a324f82
tree9674b6d5203c2e35b341f4314e568eff0d8cd38f
parentf644fec766c5dc8b9c381ef7e8772608f22371cc
mmc: mtk-sd: fix configuration option check

We either need to use IS_ENABLED(CONFIG_FOO) or CONFIG_IS_ENABLED(FOO).
IS_ENABLE(FOO) will always return false.

This commit fixes the comparison by using the CONFIG_IS_ENABLED(FOO)
syntax.

Signed-off-by: Fabien Parent <fparent@baylibre.com>
drivers/mmc/mtk-sd.c