Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3236483pxj; Mon, 10 May 2021 23:06:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz47BAt1hfSxkZIlJo50oygZEeNYopT1ObTnXlRyWlq9ugzIB4MlMZ0apIAmiyz52IQOxtF X-Received: by 2002:a17:906:1957:: with SMTP id b23mr29897301eje.209.1620713216223; Mon, 10 May 2021 23:06:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620713216; cv=none; d=google.com; s=arc-20160816; b=uZTEjcI1UeWmsfY1PPpQOiMLEKkgUvCtTZOk90mmAneJSBdvZ8Bslu+tz8eju5I7Z8 pMYprgqgeSD5dfeeoe83MHz4o7JD0Ci8AQtVgfClzLTY1v4dQOaUhKDdoUV1G7i7WxVN fgl4hVoSBBZ2y73uv7ehTtaNSCWotUbVyNMn4FU3J57PQWe8mnk9a+I2Fu8qqeT6eAOk o60zmcygzBEdZEFprxeR4qyEU3Ipz1/O/q6tUzEx5XFYy+JKaWa9RAQedetwU2tV9lq/ Ovw+zK9FNC1wYqmCn5HzyNrgAaAY8rhmUg7udLBvW8B3vnq9JCNxqCeFH+zfqLSxzrUE hIHg== 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=Dz0jwCzWcxPQ7HnRzJuQeip7O8BJJJZla3hYSpPIPF8=; b=CGxZwKGKRZPWDWcpZ7i5K9dOOibj/mr0VkFZWKV+FFenJQXONc6SBzYUIyZLOv9aKQ YgVKE7mhbwpWuF980v7R+XQqEVQ/yMxjHEr9J8PozOBUaMwrH6ZPpm7wXOuehDADXXK8 c+YFLzNr7FGmpXhLXXfm0UO+SxeSbQx9VpxS22QFUPqiIIqHiSHsByhlU88EWpU5ZhjJ FJWqPMcFZOk13VMyrjw6B96CRMmWoMKNABt4Z+SxvNpTTOmtnk54WS4ciVEPfXGGCWro 1TduWFAgihNiWhm2pfXgNVM6hctcB8pcCRQOjmkK8/XjZBozhuOwjJ2Jm1JOctwjC87t ztew== 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 g8si15233183eje.260.2021.05.10.23.06.32; Mon, 10 May 2021 23:06:56 -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 S230139AbhEKGGp (ORCPT + 99 others); Tue, 11 May 2021 02:06:45 -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