mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 00:04:15 +08:00
regulator: vqmmc-ipq4019: fix module autoloading
[ Upstream commit 68adb581a3
]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
a06efd8ab9
commit
5b4d0d8399
@ -86,6 +86,7 @@ static const struct of_device_id regulator_ipq4019_of_match[] = {
|
||||
{ .compatible = "qcom,vqmmc-ipq4019-regulator", },
|
||||
{},
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, regulator_ipq4019_of_match);
|
||||
|
||||
static struct platform_driver ipq4019_regulator_driver = {
|
||||
.probe = ipq4019_regulator_probe,
|
||||
|
Loading…
Reference in New Issue
Block a user