Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp990287pxf; Thu, 8 Apr 2021 19:01:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyy4JwmK2c1AlHGmpkMaeQEE1VxCunkZ3V7B0eKiXESOyQOzH0sKp9nWa//P/fjcARK4dEC X-Received: by 2002:a17:902:7581:b029:e7:3780:3c5f with SMTP id j1-20020a1709027581b02900e737803c5fmr9591678pll.59.1617933682338; Thu, 08 Apr 2021 19:01:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617933682; cv=none; d=google.com; s=arc-20160816; b=XRDHjRghEvWePEwTt5rdJpHLlfYGadlA0iKWP6O/zNdr1P6hSDs2hfv5XnKbPShk8O j26zx78BD/tePzEqLqPTIMY0OYmd9rVFAIQHP+nifCLMlf3z6VNVCKN2K7C0GzDjD4rj zpVLjS1AqBaBp78oS1OdckuRmwPk1GznVv+zlcaluA9QK4BQsmGM7uIowU/3KcnCmsJn 8c4gxdbMPpkdwSfWFV+GUvowS+P33DptxHNu98sDU0eEQdyY41cdPIwU6CAvTiLGB21G SPPTMeEQynsSTQNWh8ppiHeyKDXKPzibDHQDN3RkE0ykX4oKqBJlls4Kqvh81MbPrBpe 5czQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=GgbucMAuaooUpNsXqGjB5MV7IlW8v+InHy+0YKqI0JM=; b=XEfuFYnMd5idSiT4w2FsuSbN/xbWO2k+S1rfhsVquO4iNw7rvQY5R/N74Fnigp6ohi Sp2SAmk4SPECplm+3Bc9oQ9D7TX3d1GxMn9uOOpwEF6iEFZsHZgvqg0JuLHVAr3MePJf B75Piu1O2iEAxTgL/JjZ6n/Uh6ZIGgqm/XxGtXQMYa+GRNFqH0LwzltwidjjRe2ikQv5 W38cB+husVTrNVGJ3TUhTCVwiLdyKF48QdsmKGSvB1vwUyMpWhxukJvweUjNmf1ISDu+ SAOl7xN6f2rOdiCTMQxaMOt5wo60bWhb0aP8f2ASIguoTw385EWfr6/b84h/UKl9iqSs /zvQ== 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 q6si1319010pfu.281.2021.04.08.19.01.09; Thu, 08 Apr 2021 19:01:22 -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 S233052AbhDICAl (ORCPT + 99 others); Thu, 8 Apr 2021 22:00:41 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:16056 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232426AbhDICAg (ORCPT ); Thu, 8 Apr 2021 22:00:36 -0400 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4FGh8v3TwRzPpMK; Fri, 9 Apr 2021 09:57:35 +0800 (CST) Received: from huawei.com (10.67.174.78) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.498.0; Fri, 9 Apr 2021 10:00:14 +0800 From: Chen Lifu To: Arnaud Pouliquen , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai CC: Chen Lifu , , , Subject: [PATCH -next] ASoC: sti: sti_uniperif: add missing MODULE_DEVICE_TABLE Date: Fri, 9 Apr 2021 09:59:53 +0800 Message-ID: <20210409015953.259688-1-chenlifu@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.174.78] 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: Chen Lifu --- sound/soc/sti/sti_uniperif.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/sti/sti_uniperif.c b/sound/soc/sti/sti_uniperif.c index 67315d9b352d..e3561f00ed40 100644 --- a/sound/soc/sti/sti_uniperif.c +++ b/sound/soc/sti/sti_uniperif.c @@ -97,6 +97,7 @@ static const struct of_device_id snd_soc_sti_match[] = { }, {}, }; +MODULE_DEVICE_TABLE(of, snd_soc_sti_match); int sti_uniperiph_reset(struct uniperif *uni) {