use __rt_ffs instead of ffs

This commit is contained in:
weety
2013-05-25 18:57:01 +08:00
parent a33e992724
commit 624d947e56
2 changed files with 1 additions and 32 deletions

View File

@@ -493,7 +493,7 @@ rt_uint32_t mmcsd_select_voltage(struct rt_mmcsd_host *host, rt_uint32_t ocr)
ocr &= host->valid_ocr;
bit = ffs(ocr);
bit = __rt_ffs(ocr);
if (bit)
{
bit -= 1;