If built as module would throw up with
drivers/regulator/qcom_smd-regulator.c:67:5: error: redefinition of 'qcom_rpm_set_floor'
drivers/regulator/qcom_smd-regulator.c:89:5: error: redefinition of 'qcom_rpm_set_corner'
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
#ifndef __QCOM_SMD_REGULATOR_H_
#define __QCOM_SMD_REGULATOR_H_
-#ifdef CONFIG_REGULATOR_QCOM_SMD_RPM
+#if IS_ENABLED(CONFIG_REGULATOR_QCOM_SMD_RPM)
int qcom_rpm_set_floor(struct regulator *regulator, int floor);
int qcom_rpm_set_corner(struct regulator *regulator, int corner);
#else