Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Krzysztof Kozlowski and committed by
Mark Brown
68adb581 ddd3f34c

+1
+1
drivers/regulator/vqmmc-ipq4019-regulator.c
··· 84 84 { .compatible = "qcom,vqmmc-ipq4019-regulator", }, 85 85 {}, 86 86 }; 87 + MODULE_DEVICE_TABLE(of, regulator_ipq4019_of_match); 87 88 88 89 static struct platform_driver ipq4019_regulator_driver = { 89 90 .probe = ipq4019_regulator_probe,