]> git.baikalelectronics.ru Git - kernel.git/commit
soc: mediatek: pwrap: fix compiler errors
authorMatthias Brugger <matthias.bgg@gmail.com>
Sat, 21 Oct 2017 08:17:47 +0000 (10:17 +0200)
committerMatthias Brugger <matthias.bgg@gmail.com>
Sat, 21 Oct 2017 08:17:47 +0000 (10:17 +0200)
commite9285540d1e1108510ed653313228b6b4e040cce
treec10617ef34e129839b67471c59bf0acf8ec5df7d
parentaca2cf8461bfb1e1f64e29c1bd8fff8fac39c3f1
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: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/mtk-pmic-wrap.c