Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7ae39500 authored by David Collins's avatar David Collins
Browse files

soc: qcom: qpnp-pbs: replace #ifdef with #if IS_ENABLED()



Replace #ifdef CONFIG_QPNP_PBS with #if IS_ENABLED(CONFIG_QPNP_PBS).
This fixes a function redefinition error when compiling the
qpnp-pbs driver as a module with CONFIG_QPNP_PBS=m in a defconfig
file.

Change-Id: I2a6201a7a94423ce333c203c475dce319f922fdd
Signed-off-by: default avatarDavid Collins <collinsd@codeaurora.org>
parent 24671234
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment