diff options
| author | Bernard Xiong <[email protected]> | 2018-03-04 17:25:59 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2018-03-04 17:25:59 +0800 |
| commit | ba2b1f0e56fb4b5bdcd1a09683f88c002f11fbf5 (patch) | |
| tree | 98409607fa13b97ef260a1899fab05691f93e702 /components/drivers/sdio | |
| parent | 7f1db36f39fda0d56ecb4e20ac096c42dee06d74 (diff) | |
[DeviceDrivers][MMC] rename fls to __rt_fls
Diffstat (limited to 'components/drivers/sdio')
| -rw-r--r-- | components/drivers/sdio/mmcsd_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/drivers/sdio/mmcsd_core.c b/components/drivers/sdio/mmcsd_core.c index d240dca400..edf4002ac7 100644 --- a/components/drivers/sdio/mmcsd_core.c +++ b/components/drivers/sdio/mmcsd_core.c @@ -548,7 +548,7 @@ rt_uint32_t mmcsd_select_voltage(struct rt_mmcsd_host *host, rt_uint32_t ocr) static void mmcsd_power_up(struct rt_mmcsd_host *host) { - int bit = fls(host->valid_ocr) - 1; + int bit = __rt_fls(host->valid_ocr) - 1; host->io_cfg.vdd = bit; if (controller_is_spi(host)) |
