[DeviceDrivers][MMC] rename fls to __rt_fls

This commit is contained in:
Bernard Xiong
2018-03-04 17:25:59 +08:00
parent 7f1db36f39
commit ba2b1f0e56
2 changed files with 2 additions and 2 deletions

View File

@@ -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))