Skip to content

Commit 68adb58

Browse files
krzkbroonie
authored andcommitted
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: Krzysztof Kozlowski <krzk@kernel.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Link: https://msgid.link/r/20240410172615.255424-2-krzk@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent ddd3f34 commit 68adb58

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/regulator/vqmmc-ipq4019-regulator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ static const struct of_device_id regulator_ipq4019_of_match[] = {
8484
{ .compatible = "qcom,vqmmc-ipq4019-regulator", },
8585
{},
8686
};
87+
MODULE_DEVICE_TABLE(of, regulator_ipq4019_of_match);
8788

8889
static struct platform_driver ipq4019_regulator_driver = {
8990
.probe = ipq4019_regulator_probe,

0 commit comments

Comments
 (0)