Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1146163pxv; Fri, 9 Jul 2021 19:29:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQ8ljzUed1ecJDsRgsrLLnAE4vNPYzhzOMjo7Awz8+rLqkIl268rkPmOKaHiVCwI7iHl28 X-Received: by 2002:a17:907:7da9:: with SMTP id oz41mr39948313ejc.157.1625884142932; Fri, 09 Jul 2021 19:29:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625884142; cv=none; d=google.com; s=arc-20160816; b=jMGm3CsI8GPjXxTKF7xlzhprjGlSPDHTDDyuFWfhHWvmab8iJGySXmJYxKoAyP0mUZ 3at4c8PpsmumM0v1DldGPLunPcE4XBxRTzp6JMCcmo+V3oujdFtwHu2WTiV4as7UQnKi 0VpVddOHeU67ZjG+XQg1/Jr669CmxcfGsrQCIPF+IPVK4Enc8BNp8ldUz1VszN5hHHDx K62Cn5wA4QdbqCk3Q/qDr5/ziKb1DJoMJIapsBAHcMpLnV+mlz2qfAVtaDlwE2Uq2W/7 hZeZu+cfcA6G3ooSeV2A5QDyVvgmhQn3fl3bgDSsUv9rF/6WY0SV3rexkd/KPgUjfcfR D52Q== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=M/4VCYXvM3p6gjlOd2h6T+52l64AKVU72wcF+3K50Yo=; b=jRXWib6tpM5kRwaSwvw13UQCt70GMa8UHqESi0LYuyeq+liOGQZWe6smJ+TO9poy6C fRqDTzWhmvEjYBtIH2pFm4KO43UyDl0JqFWJhQHL3PX1ZfpsE2T3S607onzG8bBcB4cG FqiGTWGM8vl9GAfamaRc7L4b3uCHVx2eHQNJmTgTRsoz4Hvndtmo88iMtNMTmV5j4JmL KQUC4k2lKEnv0DN7m/VL7SsLGvDEvbYUmJeRj5HL2nGxJhG6XuxezEso5VKVJJvJyCF9 G9N9weaVG3bkS+RiRGQr7WK1LsZCYDfWpG+P/vMZEqvuH4k5/k1H9vuLYUGkaJN1WJ2P Pt5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=B1qHuYdM; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o12si8579350edc.382.2021.07.09.19.28.40; Fri, 09 Jul 2021 19:29:02 -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=@kernel.org header.s=k20201202 header.b=B1qHuYdM; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233845AbhGJCaa (ORCPT + 99 others); Fri, 9 Jul 2021 22:30:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:42616 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232405AbhGJC1t (ORCPT ); Fri, 9 Jul 2021 22:27:49 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 04A0861409; Sat, 10 Jul 2021 02:24:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1625883885; bh=osn4rjtANXWskyEV0mZWjevf0Tk15UGwMHiy8emKj2E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=B1qHuYdMHM6lG1H/TlrX31o843sW6TOVe8FJXpiBwI4cDIZgR0lg4QpEuA7ykQhGH VN8KT0KNahgbqEp6OgQaOilm6uDWpIOWGR4xM0sPfZ1A0f7riYlZCWe2EdIJAaP/1A ExkLDPKZm0n+backrbIbd6k9WMHbCtJeVubCyhmk0XM1y0nDMRZj58xRWNpAnmQM+v JJXiFWEDx4L0F2Ruib7V7/yidvxN6aGa6dGo8MKaj8ZG7zPHfN8adqW3vqnF7Eh/zB SzIEP6TjmnU/s3uVsJgFfBaaJ5EinuGzFPBvr37uWYj/0WZsTFCw7/iSk13fnbL9nG kNGxfs9V+tkIQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Zou Wei , Hulk Robot , Mark Brown , Sasha Levin , alsa-devel@alsa-project.org Subject: [PATCH AUTOSEL 5.10 13/93] ASoC: intel/boards: add missing MODULE_DEVICE_TABLE Date: Fri, 9 Jul 2021 22:23:07 -0400 Message-Id: <20210710022428.3169839-13-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210710022428.3169839-1-sashal@kernel.org> References: <20210710022428.3169839-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore 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