soc: mediatek: add missing MODULE_DEVICE_TABLE
This patch adds missing MODULE_DEVICE_TABLE definition which generates correct modalias for automatic loading of this driver when it is built as an external module. Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Zou Wei <zou_wei@huawei.com> Link: https://lore.kernel.org/r/1620705350-104687-1-git-send-email-zou_wei@huawei.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
This commit is contained in:
committed by
Matthias Brugger
parent
6efb943b86
commit
ba96de3ae5
@@ -234,6 +234,7 @@ static const struct of_device_id mtk_devapc_dt_match[] = {
|
||||
}, {
|
||||
},
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, mtk_devapc_dt_match);
|
||||
|
||||
static int mtk_devapc_probe(struct platform_device *pdev)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user