Commit 4589bb97 authored by John B. Wyatt IV's avatar John B. Wyatt IV Committed by Greg Kroah-Hartman
Browse files

pm:cpupower: Add missing powercap_set_enabled() stub function



[ Upstream commit 4b80294f ]

There was a symbol listed in the powercap.h file that was not implemented.
Implement it with a stub return of 0.

Programs like SWIG require that functions that are defined in the
headers be implemented.

Fixes: c2294c14 ("cpupower: Introduce powercap intel-rapl library and powercap-info command")
Suggested-by: default avatarShuah Khan <skhan@linuxfoundation.org>
Signed-off-by: default avatarJohn B. Wyatt IV <jwyatt@redhat.com>
Signed-off-by: default avatarJohn B. Wyatt IV <sageofredondo@gmail.com>
Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent fb2d0575
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment