bdk: constify various args
This commit is contained in:
1 parent
b1bc6ebdd8
commit
9e239df39e
20 files changed
+36
-35
No files matched your search
+1
-1
@@ -701,7 +701,7 @@ static void _clock_sdmmc_clear_enable(u32 id)
|
||||
|
||||
static void _clock_sdmmc_config_legacy_tm()
|
||||
{
|
||||
clk_rst_t *clk = &_clock_sdmmc_legacy_tm;
|
||||
const clk_rst_t *clk = &_clock_sdmmc_legacy_tm;
|
||||
if (!(CLOCK(clk->enable) & BIT(clk->index)))
|
||||
clock_enable(clk);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user