Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4096791pxj; Tue, 11 May 2021 20:21:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTYRgCTrz8FOytQAFHsXn9r1eHoCppYctY8eeCwGnlyW2G3yeriCKAm1S0QtoZ00/SLMlG X-Received: by 2002:a02:6d6c:: with SMTP id e44mr29757995jaf.81.1620789666502; Tue, 11 May 2021 20:21:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620789666; cv=none; d=google.com; s=arc-20160816; b=qTx/3n//5MQGRB8vpNp7seqRwN2cnxO3FtrF/A1QQVy0yiWXpHKPJrJy7FoTQuUcNg 92IUlGxAot9cynNGMChWdcxSviCOJ8ZbnbbK/C2afVJNJBQnoqatbuChpgEulzRiQsjZ +5wfTNo4xINeGdqUpmiRNn5WsXgjlMWH6RiLfuNIm5FW5gSrQomtDnuLsMUEvJgujIe9 EbfUnugQ6Cwbzo12kuJRZMNUqGeKy3Gvfhipkf3Iqm8Ax2+C4dbYEV0GwK0o1sl/UTTn 9Cw5tZyJ9AFqHIIeZI9AJmQZOpKEJLH3eUp25tYEjdT2ckSw89MuPrT9WDIVTtS2+zEq xdlw== 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=Wod/VtWf2zoW6QUMvlc/gt6pR2C2zWM7HLooIbTTzJc=; b=xdi3b4Kk9cGLmhEPJ/2tQO/EW9zp3vuKyf4zy3ius/ZSTPqZiI54HibfIu2xDl7/V7 g1bdzwppmqjC+fPawNfQHZPac7KpNcLRmlf+mstoHh9uwLaB2vTiBMaeOUo2zy3m5Qyw VxGRJPSUD7k8N54WV/l5fEY/1+HSvbFd289j5IFe2SybyEo18/NmBMkVXi9sjPwXTtlm VZlNLHEFr96bHo6mYrNWoRJtVc5dt5qxjWNYq74lH0vd1U9SIC5P2WWC7U7NBTEqBfUY 35x3PcMjAabjJm/gc00+YpgljoaUzFH6cDwb+VAToK4RVQyx2s0c4WVGwvibNJl3GDXS BcSw== 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 k7si20883322ili.130.2021.05.11.20.20.54; Tue, 11 May 2021 20:21:06 -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 S230134AbhELDVX (ORCPT + 99 others); Tue, 11 May 2021 23:21:23 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:5101 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230115AbhELDVV (ORCPT ); Tue, 11 May 2021 23:21:21 -0400 Received: from dggeml716-chm.china.huawei.com (unknown [172.30.72.57]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4Fg0MP41X5zYgVw; Wed, 12 May 2021 11:17:05 +0800 (CST) Received: from dggemi762-chm.china.huawei.com (10.1.198.148) by dggeml716-chm.china.huawei.com (10.3.17.127) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Wed, 12 May 2021 11:19:33 +0800 Received: from linux-lmwb.huawei.com (10.175.103.112) by dggemi762-chm.china.huawei.com (10.1.198.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Wed, 12 May 2021 11:19:32 +0800 From: Zou Wei To: , , , CC: , Zou Wei Subject: [PATCH -next] nvmem: sc27xx: Add missing MODULE_DEVICE_TABLE Date: Wed, 12 May 2021 11:36:34 +0800 Message-ID: <1620790594-15772-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-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To dggemi762-chm.china.huawei.com (10.1.198.148) 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/nvmem/sc27xx-efuse.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/nvmem/sc27xx-efuse.c b/drivers/nvmem/sc27xx-efuse.c index c825fc9..7f9bd21 100644 --- a/drivers/nvmem/sc27xx-efuse.c +++ b/drivers/nvmem/sc27xx-efuse.c @@ -262,6 +262,7 @@ static const struct of_device_id sc27xx_efuse_of_match[] = { { .compatible = "sprd,sc2730-efuse", .data = &sc2730_edata}, { } }; +MODULE_DEVICE_TABLE(of, sc27xx_efuse_of_match); static struct platform_driver sc27xx_efuse_driver = { .probe = sc27xx_efuse_probe, -- 2.6.2