]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
regulator: smd: Add correct ifdef flag for stubs
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Wed, 22 Jul 2015 14:30:02 +0000 (15:30 +0100)
committerSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Mon, 11 Jan 2016 09:55:12 +0000 (09:55 +0000)
commit8a38c5694c0f6a8616f793ea2ae7e5ef22bef6c6
tree739ed906ed100e38eae1864b86bf79970a0b4217
parent657238568f7dae6cbdc57216f5604166599b92b1
regulator: smd: Add correct ifdef flag for stubs

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>
include/linux/regulator/qcom_smd-regulator.h