Message ID | 20231003152927.15000-4-johan+linaro@kernel.org (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Series | mfd: qcom-spmi-pmic: fix revid implementation | expand |
On 3.10.2023 17:29, Johan Hovold wrote: > Switch to using EXPORT_SYMBOL_GPL() for the revid helper as there is no > reason not to use it. > > Cc: Caleb Connolly <caleb.connolly@linaro.org> > Signed-off-by: Johan Hovold <johan+linaro@kernel.org> > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Konrad
diff --git a/drivers/mfd/qcom-spmi-pmic.c b/drivers/mfd/qcom-spmi-pmic.c index 8e449cff5cec..ee55f09da3ba 100644 --- a/drivers/mfd/qcom-spmi-pmic.c +++ b/drivers/mfd/qcom-spmi-pmic.c @@ -241,7 +241,7 @@ const struct qcom_spmi_pmic *qcom_pmic_get(struct device *dev) return &spmi->pmic; } -EXPORT_SYMBOL(qcom_pmic_get); +EXPORT_SYMBOL_GPL(qcom_pmic_get); static const struct regmap_config spmi_regmap_config = { .reg_bits = 16,
Switch to using EXPORT_SYMBOL_GPL() for the revid helper as there is no reason not to use it. Cc: Caleb Connolly <caleb.connolly@linaro.org> Signed-off-by: Johan Hovold <johan+linaro@kernel.org> --- drivers/mfd/qcom-spmi-pmic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)