mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-01 10:45:49 +00:00
pinctrl: pinctrl-zynq: fix module autoloading
Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from of_device_id table. Signed-off-by: Liao Chen <liaochen4@huawei.com> Link: https://lore.kernel.org/20240814030155.3876069-1-liaochen4@huawei.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
cacd8cf79d
commit
f7b286ab3d
@ -1202,6 +1202,7 @@ static const struct of_device_id zynq_pinctrl_of_match[] = {
|
||||
{ .compatible = "xlnx,pinctrl-zynq" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, zynq_pinctrl_of_match);
|
||||
|
||||
static struct platform_driver zynq_pinctrl_driver = {
|
||||
.driver = {
|
||||
|
Loading…
Reference in New Issue
Block a user