From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2EE51C433ED for ; Tue, 11 May 2021 06:05:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 026A661606 for ; Tue, 11 May 2021 06:05:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230224AbhEKGGq (ORCPT ); Tue, 11 May 2021 02:06:46 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:2770 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229957AbhEKGGp (ORCPT ); Tue, 11 May 2021 02:06:45 -0400 Received: from DGGEMS404-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4FfS4T1w2mzmg2v; Tue, 11 May 2021 14:02:17 +0800 (CST) Received: from linux-lmwb.huawei.com (10.175.103.112) by DGGEMS404-HUB.china.huawei.com (10.3.19.204) with Microsoft SMTP Server id 14.3.498.0; Tue, 11 May 2021 14:05:30 +0800 From: Zou Wei To: , CC: , Zou Wei Subject: [PATCH -next] bus: da8xx-mstpri: add missing MODULE_DEVICE_TABLE Date: Tue, 11 May 2021 14:22:30 +0800 Message-ID: <1620714150-106682-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/bus/da8xx-mstpri.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/bus/da8xx-mstpri.c b/drivers/bus/da8xx-mstpri.c index ee4c023..ff158a1 100644 --- a/drivers/bus/da8xx-mstpri.c +++ b/drivers/bus/da8xx-mstpri.c @@ -249,6 +249,7 @@ static const struct of_device_id da8xx_mstpri_of_match[] = { { .compatible = "ti,da850-mstpri", }, { }, }; +MODULE_DEVICE_TABLE(of, da8xx_mstpri_of_match); static struct platform_driver da8xx_mstpri_driver = { .probe = da8xx_mstpri_probe, -- 2.6.2