reform2_lpc.c needs adjusting for upcoming changes in kernel.
Linux commit 520c790c83e9e4c915a8e3fc9f2152ece39b6511 on branch rockchip-devel 1 removes the member of_node from struct power_supply_config. This breaks the compilation of reform2_lpc.c.
It's probably best to plan for these changes to the kernel, even though they are not yet in mainline Linux.
I'm currently doing a test build with 520c790c83e9 reverted.