“1da177e4c3f41524e886b7f1b8a0c1fc7321cac2”上不存在“arch/arm/include/asm/cache.h”
提交 fb2c1934 编写于 作者: M Matthias Brugger

soc: mediatek: pwrap: fix compiler errors

When compiling using sparse, we got the following error:
drivers/soc/mediatek/mtk-pmic-wrap.c:686:25: error: dubious one-bit signed bitfield

Changing the data type to unsigned fixes this.
Signed-off-by: NMatthias Brugger <matthias.bgg@gmail.com>
上级 598f9b2e
...@@ -683,7 +683,7 @@ struct pmic_wrapper_type { ...@@ -683,7 +683,7 @@ struct pmic_wrapper_type {
u32 int_en_all; u32 int_en_all;
u32 spi_w; u32 spi_w;
u32 wdt_src; u32 wdt_src;
int has_bridge:1; unsigned int has_bridge:1;
int (*init_reg_clock)(struct pmic_wrapper *wrp); int (*init_reg_clock)(struct pmic_wrapper *wrp);
int (*init_soc_specific)(struct pmic_wrapper *wrp); int (*init_soc_specific)(struct pmic_wrapper *wrp);
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册