mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 04:18:39 +08:00
slimbus: qcom-ctrl: fix module autoloading
Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded based on the alias from of_device_id table. Pin controllers are considered core components, so usually they are built-in, however these Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20240430091657.35428-4-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
880b33b058
commit
35230d3105
@ -717,6 +717,7 @@ static const struct of_device_id qcom_slim_dt_match[] = {
|
||||
{ .compatible = "qcom,slim", },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, qcom_slim_dt_match);
|
||||
|
||||
static struct platform_driver qcom_slim_driver = {
|
||||
.probe = qcom_slim_probe,
|
||||
|
Loading…
Reference in New Issue
Block a user