mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-04 04:06:26 +00:00
regulator: qcom-refgen: 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-1-krzk@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
d3cf8a1749
commit
ddd3f34c10
@ -140,6 +140,7 @@ static const struct of_device_id qcom_refgen_match_table[] = {
|
||||
{ .compatible = "qcom,sm8250-refgen-regulator", .data = &sm8250_refgen_desc },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, qcom_refgen_match_table);
|
||||
|
||||
static struct platform_driver qcom_refgen_driver = {
|
||||
.probe = qcom_refgen_probe,
|
||||
|
Loading…
Reference in New Issue
Block a user