Commit 68adb581 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Mark Brown

regulator: vqmmc-ipq4019: fix module autoloading

Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded
based on the alias from of_device_id table.
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Link: https://msgid.link/r/20240410172615.255424-2-krzk@kernel.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent ddd3f34c
...@@ -84,6 +84,7 @@ static const struct of_device_id regulator_ipq4019_of_match[] = { ...@@ -84,6 +84,7 @@ static const struct of_device_id regulator_ipq4019_of_match[] = {
{ .compatible = "qcom,vqmmc-ipq4019-regulator", }, { .compatible = "qcom,vqmmc-ipq4019-regulator", },
{}, {},
}; };
MODULE_DEVICE_TABLE(of, regulator_ipq4019_of_match);
static struct platform_driver ipq4019_regulator_driver = { static struct platform_driver ipq4019_regulator_driver = {
.probe = ipq4019_regulator_probe, .probe = ipq4019_regulator_probe,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment