Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1144193pxv; Fri, 9 Jul 2021 19:24:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzIgPYvBTaRXygTb8lyTQCOiXVZbD1GTMvUmbcWN2O0aYvGpub4DYRtHcDdQUAQ0cSU7+jt X-Received: by 2002:a05:6402:1cbc:: with SMTP id cz28mr51683982edb.246.1625883878494; Fri, 09 Jul 2021 19:24:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625883878; cv=none; d=google.com; s=arc-20160816; b=EwoS1hYhKMCmL2LyuVNdbv9NZmO66gM2oMH1e6z1Jg/QohJ3xy1wq6e13n0JzsZMeS FvtHfRAayTR5wRLFu7Cz0RUAKFtS2BWdVA/lLgnaiekCtqVq3hfBbAmpIiCITSbCYlOR UrQw+KtPbZIBMhRAhXbZL9XUh96lWSH2erseH1iz2NGAknTYZJxX5nZ+xG1CsvOZhc10 hX4CfrZmtmxtvkE/eXH3JAOXju3vOElv/huKm91efKlDT6BYLgSspahYQLvTyqRoqRrJ 2S6v7oqMmNDwfNPInj3pFmFlMHDxY+BlH7zl/zJCNzT1rEQ1X0jhkw7pQu7iZmDMGi6C V2xQ== 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=rC+wNGakbg7tlb9fv5xiMsAifhphkTXzV7YsyOU+waM=; b=nefqP8f/Oj6ulSGL+coKOKTP5unfrYBVuRfbvCVGR5la7hN8jyxrjr5NIaEUegfMMw kqOmC43Eu4L5fXquK+ea9knOGerUFwoXUkjusuXT2XF4ZT2GroaLvOr1t71cSPTjBNa8 23kZB65fr27XNWpGQZIbWHj1v4ftTgY6kc6dewpTfA3/FdI+k85Zlt+xEjEnPAHFTyrj jVRPaTFojUWsZOxXyqfccdrVkpYgERnHS65aXQE1iU5Y9zatKncPLtkUL2fhniIlU1K5 aHrWbJ+bntvHZiwIQv32Fb/Y3TuJNRUrA+fFKbpSLbyjhRtpEuzVL2A5W7sLUP+5Tq8x Wwhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jj0ZWhqS; 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 ak18si8694587ejc.199.2021.07.09.19.24.15; Fri, 09 Jul 2021 19:24:38 -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=jj0ZWhqS; 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 S232858AbhGJCZb (ORCPT + 99 others); Fri, 9 Jul 2021 22:25:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:41838 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232068AbhGJCY7 (ORCPT ); Fri, 9 Jul 2021 22:24:59 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3B064613E8; Sat, 10 Jul 2021 02:22:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1625883735; bh=aPEsAJGmsGNzWDFxYT9/4VLd8DXDuBcJnkwDQrRJGlk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jj0ZWhqSWsx3V9dGqFLvBtaiucrgMfCryzMMfa6U8+oP3FT+i8MJf73SVstu2Urck SsgoVOpeUFDrRqf+Ka4YzBpGTp7zn5XhLnQWlsOBWuxsRoD0S6CbpjCEouNVe0fHvO 8iYbCubihRW1QE7c57x+SGS/fK9lfp23dBBGhHSIzN2R1mipogCRMhT+rdKvQt8isD zZ9O6mB4hy9TQw/i4cxlwFWtpWV2UGqOEftxFpB20uHD8JTurz4OJ0A0d04nJ/pjUD zAe3dPITgZbJAt92ex1dBoFtArIYFDJeq6Jiehfc5iCgkb522Knu8M5W0qUEeHRLSd DxrBBSzC8dZeA== 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.12 014/104] ASoC: intel/boards: add missing MODULE_DEVICE_TABLE Date: Fri, 9 Jul 2021 22:20:26 -0400 Message-Id: <20210710022156.3168825-14-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210710022156.3168825-1-sashal@kernel.org> References: <20210710022156.3168825-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 55505e207bc0..56e92a1ff34d 100644 --- a/sound/soc/intel/boards/sof_rt5682.c +++ b/sound/soc/intel/boards/sof_rt5682.c @@ -942,6 +942,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