power: main: fix error compilation