lg-devs / android_kernel_lge_msm8974

Other
4 stars 29 forks source link

qpnp-charger.c: undeclared function (d803) #4

Closed danielstuart14 closed 9 years ago

danielstuart14 commented 9 years ago

When compiling to d803 (the only model that has qpnp-charger=y in config), I got that:

error: 'STS_CHE_STPCHG_TO_DECCUR' undeclared (first use in this function) if (res.change_lvl == STS_CHE_STPCHG_TO_DECCUR) { ^

I saw that cm12.0 caf doesn't has STS_CHE_STPCHG_TO_DECCUR state. So I delete this state to compile, I'll test if charge still working (or even if it's booting).

NotTsunami commented 9 years ago

See below.

Rashed97 commented 9 years ago

Not exactly. The d803 can't build this kernel because the defconfig hasn't been updated yet, but I'm working on it. The DTB might need some updates as well however.

NotTsunami commented 9 years ago

Whoops, sorry.

danielstuart14 commented 9 years ago

Fixed! Author: @Rashed97 Commit: ea691ac1a82151643a5b5f885dc95578707d6ff9