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 <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> Link: https://msgid.link/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
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)