Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3154557pxj; Mon, 10 May 2021 20:39:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbKjU6bST+SpRAWnyxOkXErzbA1hBgifkY+E49ShtbJRWdlmZFeGgEv74xDWD5gG+hZQD4 X-Received: by 2002:a05:6638:32a8:: with SMTP id f40mr24633035jav.84.1620704397048; Mon, 10 May 2021 20:39:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620704397; cv=none; d=google.com; s=arc-20160816; b=E/rAZZfD0CwcKsq/rjCsQb5D32AmIlez+61vfQ0dIuqPoknt9lt7JfxMToa4jgIwKp JLf0XuaCTiXFjSGiUwtwMhiSk8Mu5q/TR3i6Ee4dPs6mU5P+/L0OGznSbHM0bx5QwCzJ JGY9q0rZ34v+wS2tWpLvD0jxHUl7mBEFFCb0UpoWoDZbUg70xPR4oi8m5k0J4OP10KHQ th107wA4HhTkLifswX8HheI/8oU6ejTVlYCZaerGOjNJor9Ct1AXqkQeJ5q2Mv6cQ3q3 uO2b69icKUUujz4enAMggyRe/yN0EcZB9kBD3rzcQFCuEQi9ljInyTBBBd5d+8qoEIv3 V8Uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=H5fKaZhEu0VDGMo0n7tvh8MHJjbXXtqzNPrLukHR5vg=; b=dWMOjL0c51xTzTf4t4aszzQbJf2dxiFmua4akvjJok8ONoSKkbjFj/RY/34FDVV9Kg NzdaTr20gqwWu4dzuVEfPWAEFb0mQoBsIE5iLLGI+j/JUbWLWoelBC0FeqQoy7awSkRS zLdp1MUSIb5VfdjZv2gjjrsPskyIKuYhNwepxCMipd0bokJAu2Ci6eqLAjdq/yVtAGec 8dzP3mtz2Tfzr//jsUKe9/T8d78hvviwhgYmlkfvGSxJNHs/yLjmkUY+Q6st10EjB9WO 5FDataIK+GnYA+hIp0vdl3kR1ymISbMPfNEQMy5xaVJZ5E5lwNp08gf2exf1Bx25bXPv CpVQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w25si22052293ioc.66.2021.05.10.20.39.44; Mon, 10 May 2021 20:39:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229980AbhEKDkC (ORCPT + 99 others); Mon, 10 May 2021 23:40:02 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:2687 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229736AbhEKDkB (ORCPT ); Mon, 10 May 2021 23:40:01 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4FfNqz62BMz1BLBh; Tue, 11 May 2021 11:36:15 +0800 (CST) Received: from linux-lmwb.huawei.com (10.175.103.112) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.498.0; Tue, 11 May 2021 11:38:47 +0800 From: Zou Wei To: CC: , , , Zou Wei Subject: [PATCH -next] soc: mediatek: add missing MODULE_DEVICE_TABLE Date: Tue, 11 May 2021 11:55:50 +0800 Message-ID: <1620705350-104687-1-git-send-email-zou_wei@huawei.com> X-Mailer: git-send-email 2.6.2 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.103.112] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Signed-off-by: Zou Wei --- drivers/soc/mediatek/mtk-devapc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/mediatek/mtk-devapc.c b/drivers/soc/mediatek/mtk-devapc.c index f1cea04..7c65ad3 100644 --- a/drivers/soc/mediatek/mtk-devapc.c +++ b/drivers/soc/mediatek/mtk-devapc.c @@ -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) { -- 2.6.2