mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
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 <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Signed-off-by: Jassi Brar <[email protected]>
This commit is contained in:
committed by
Jassi Brar
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,
|
||||
|
||||
Reference in New Issue
Block a user