Re: [PATCH v1 2/2] regulator: rt6245: Add support for Richtek RT6245
From: Mark Brown
Date: Wed May 26 2021 - 14:21:57 EST
On Wed, May 26, 2021 at 02:12:58PM +0800, cy_huang wrote:
> + /* xor checksum for bit 6 to 0 */
> + bit_count = __sw_hweight8(code & RT6245_CODE_MASK);
This doesn't compile with an x86 allmodconfig:
ERROR: modpost: "__sw_hweight8" [drivers/regulator/rt6245-regulator.ko] undefined!
Attachment:
signature.asc
Description: PGP signature