mailbox: mtk-cmdq-mailbox: fix module autoloading
Add MODULE_DEVICE_TABLE(), so this module could be properly autoloaded based on the alias from of_device_id table. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
This commit is contained in:
parent
6ffb163534
commit
dc48215f4f
@ -765,6 +765,7 @@ static const struct of_device_id cmdq_of_ids[] = {
|
||||
{.compatible = "mediatek,mt8195-gce", .data = (void *)&gce_plat_mt8195},
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, cmdq_of_ids);
|
||||
|
||||
static struct platform_driver cmdq_drv = {
|
||||
.probe = cmdq_probe,
|
||||
|
Loading…
x
Reference in New Issue
Block a user