Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3849904pxv; Mon, 19 Jul 2021 10:12:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2itxv9vRzUsVhROjwpHp15LKT3j/nuHnk96fg3bYU8TdQg0rECrShCNAKOe1Bd9EOOm80 X-Received: by 2002:a05:6602:446:: with SMTP id e6mr12805606iov.85.1626714768001; Mon, 19 Jul 2021 10:12:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626714767; cv=none; d=google.com; s=arc-20160816; b=d9NPGLVvY3LpgXw7Ouefs5XCIPUqdjvpgznJWNlXy8+o2TQgoi23pbtiDwQJRb6uov 7yE7n2qXrjlbwlP1B+m1agg7kWVTeQ/dTGvDlSY+KS3eq4/vGmBkG1qP94rbOTtFcqCG +Y8KKA1JMPp6UPOm0fEUFGvBbZS/p1QCjiXHgGImQi1+QxRro0FkwSMbwNchC0++cchU AksD5iplRiwu4Ack8nIK6zBst/0/P5Pxa7vM1W/TEKxn/j7yhZ6QFmGnP98+em0PEugX 5+0UCv957kbJQtS/B5IsquIhm3s5oHw7ww9IY4rSKPq7kZugeW0TXMT1LcO00FSrrjvh sY/A== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=M/4VCYXvM3p6gjlOd2h6T+52l64AKVU72wcF+3K50Yo=; b=rEKOhis5I2oXQneSUrDyjjwMBfW+qYvIXec34w9ZS1NWwqBhCQNamuAJWPHyrnh5gl gkOAiYq/WCDfFq66g497+pU/VH9hidYYjtwQRXoHVSrj6rAxDuCNmqT7lwgDytwViWSj VslChRCtId3CYeZX3MnUpUOtQ+S7u+6eUru0kL6GjL0RLLNWuxAWMP2wBve5Ql1F3Ajx 6cnR/ZJTbYflHI0lUDym0EOqHsNPE4cX2TyhFg8d0lATLi2yytj8g9mhANU715p+aDPR TT6kJN9WphZsG+qIu/j/fIojYHcmH+Z4SwsW+BH8T9c/Pd+f7uIFRjn3Ovk28gHQxoBK 5tDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YdCvNYGX; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n21si323352jat.63.2021.07.19.10.12.36; Mon, 19 Jul 2021 10:12:47 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YdCvNYGX; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350916AbhGSQbV (ORCPT + 99 others); Mon, 19 Jul 2021 12:31:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:48264 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345605AbhGSPNh (ORCPT ); Mon, 19 Jul 2021 11:13:37 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 86A566121F; Mon, 19 Jul 2021 15:53:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626710002; bh=osn4rjtANXWskyEV0mZWjevf0Tk15UGwMHiy8emKj2E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YdCvNYGXvbrpV8IJrR5Nv/Pd6W8UxKDOAcIe8np3jHHeKrSKMp40F1r1gIwE/tOW8 wHqjt0yb598Q3QzJ5Kuv65jjVcj0mORJsrrvaDPu1pzEz4M6iSBKA21npOgE0Qaco0 5t7B/UT8e3wGjkaY0dADzsmm8ELEC9TYxHDIhcx4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hulk Robot , Zou Wei , Mark Brown , Sasha Levin Subject: [PATCH 5.10 033/243] ASoC: intel/boards: add missing MODULE_DEVICE_TABLE Date: Mon, 19 Jul 2021 16:51:02 +0200 Message-Id: <20210719144942.003486390@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210719144940.904087935@linuxfoundation.org> References: <20210719144940.904087935@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Zou Wei [ Upstream commit a75e5cdf4dd1307bb1541edbb0c008f40896644c ] 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 Link: https://lore.kernel.org/r/1620791647-16024-1-git-send-email-zou_wei@huawei.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/intel/boards/sof_da7219_max98373.c | 1 + sound/soc/intel/boards/sof_rt5682.c | 1 + 2 files changed, 2 insertions(+) diff --git a/sound/soc/intel/boards/sof_da7219_max98373.c b/sound/soc/intel/boards/sof_da7219_max98373.c index f3cb0773e70e..8d1ad892e86b 100644 --- a/sound/soc/intel/boards/sof_da7219_max98373.c +++ b/sound/soc/intel/boards/sof_da7219_max98373.c @@ -440,6 +440,7 @@ static const struct platform_device_id board_ids[] = { }, { } }; +MODULE_DEVICE_TABLE(platform, board_ids); static struct platform_driver audio = { .probe = audio_probe, diff --git a/sound/soc/intel/boards/sof_rt5682.c b/sound/soc/intel/boards/sof_rt5682.c index ddbb9fe7cc06..1f94fa5a15db 100644 --- a/sound/soc/intel/boards/sof_rt5682.c +++ b/sound/soc/intel/boards/sof_rt5682.c @@ -877,6 +877,7 @@ static const struct platform_device_id board_ids[] = { }, { } }; +MODULE_DEVICE_TABLE(platform, board_ids); static struct platform_driver sof_audio = { .probe = sof_audio_probe, -- 2.30.2