Message ID | 20231102124712.2549327-14-amadeuszx.slawinski@linux.intel.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <alsa-devel-bounces@alsa-project.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B40B6C4332F for <alsa-devel@archiver.kernel.org>; Thu, 2 Nov 2023 12:51:34 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id D5708DE5; Thu, 2 Nov 2023 13:50:42 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz D5708DE5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1698929492; bh=hhGEiC6MAXSvmtFmSYlFOPAgnBfUa6nmG1/2UD7IdHs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=EZH3LEghxvCKWw3JldxhqgyaA9aOMsa78ZeZASUkjUfciRqWgRb2c0G/gsIPeqou2 KCExUaIgMi6IWsWhloJh/MX1cl6Pf/IZQTQyovjjt4Ss4P85Zv2yJjRjHthGdFjQRP GE9O7GPevlQfM+T3oOynqKL1Pz+svlOAI9jJhm0w= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 39C7FF805FD; Thu, 2 Nov 2023 13:47:46 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 798B3F805FC; Thu, 2 Nov 2023 13:47:45 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id BADC0F805C8; Thu, 2 Nov 2023 13:47:33 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 2E178F805B5 for <alsa-devel@alsa-project.org>; Thu, 2 Nov 2023 13:47:29 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 2E178F805B5 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=O1LqW8jJ DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698929250; x=1730465250; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=hhGEiC6MAXSvmtFmSYlFOPAgnBfUa6nmG1/2UD7IdHs=; b=O1LqW8jJ+vaUmAfJpfl01KkjjLhD07tsohHTtxL2mRFjUMSRWjmzLFIw ODK6LovsOp54xW+luaNTaZ7/LMne/L1i8MG2WQDqHXYtuUKAejz8Ktdy3 cr8MoimhTWZb6wEBMGTSz2Uxj/UibgpiV2m9J2tuRn8YTm8ndASAvRrQj O6KNQJiu3uYGvf+yffpMFPbjrMMA55fGCjaKN+JePTOa6xzbfPh6zNrJQ mipRe7rmwGrjnQO2saTje6tTid0pQanYAxIxr3BrAbyV5OFyHvtgDD3ZE kJt1eaHfx2MtXo6u8YBqBa7N96trTJXTsi4SMeZtmCyD61D6RUtvUfxFE w==; X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="7343549" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="7343549" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2023 05:47:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="1008454782" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="1008454782" Received: from dev2 (HELO DEV2.igk.intel.com) ([10.237.148.94]) by fmsmga006.fm.intel.com with ESMTP; 02 Nov 2023 05:47:26 -0700 From: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= <amadeuszx.slawinski@linux.intel.com> To: Mark Brown <broonie@kernel.org> Cc: Cezary Rojewski <cezary.rojewski@intel.com>, Takashi Iwai <tiwai@suse.com>, Jaroslav Kysela <perex@perex.cz>, alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, Krzysztof Kozlowski <krzk@kernel.org>, =?utf-8?q?Amadeusz_S=C5=82awi=C5=84s?= =?utf-8?q?ki?= <amadeuszx.slawinski@linux.intel.com> Subject: [PATCH 13/17] ASoC: Intel: avs: rt298: Add proper id_table Date: Thu, 2 Nov 2023 13:47:08 +0100 Message-Id: <20231102124712.2549327-14-amadeuszx.slawinski@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> References: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-ID-Hash: 4ITAAHISAJ7S3ET34P7QTH4KQDZU4HPU X-Message-ID-Hash: 4ITAAHISAJ7S3ET34P7QTH4KQDZU4HPU X-MailFrom: amadeuszx.slawinski@linux.intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" <alsa-devel.alsa-project.org> Archived-At: <https://mailman.alsa-project.org/hyperkitty/list/alsa-devel@alsa-project.org/message/4ITAAHISAJ7S3ET34P7QTH4KQDZU4HPU/> List-Archive: <https://mailman.alsa-project.org/hyperkitty/list/alsa-devel@alsa-project.org/> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Owner: <mailto:alsa-devel-owner@alsa-project.org> List-Post: <mailto:alsa-devel@alsa-project.org> List-Subscribe: <mailto:alsa-devel-join@alsa-project.org> List-Unsubscribe: <mailto:alsa-devel-leave@alsa-project.org> |
Series |
ASoC: Intel: avs: Properly identify boards
|
expand
|
diff --git a/sound/soc/intel/avs/boards/rt298.c b/sound/soc/intel/avs/boards/rt298.c index ea32a7690c8a..80f490b9e118 100644 --- a/sound/soc/intel/avs/boards/rt298.c +++ b/sound/soc/intel/avs/boards/rt298.c @@ -247,15 +247,23 @@ static int avs_rt298_probe(struct platform_device *pdev) return devm_snd_soc_register_card(dev, card); } +static const struct platform_device_id avs_rt298_driver_ids[] = { + { + .name = "avs_rt298", + }, + {}, +}; +MODULE_DEVICE_TABLE(platform, avs_rt298_driver_ids); + static struct platform_driver avs_rt298_driver = { .probe = avs_rt298_probe, .driver = { .name = "avs_rt298", .pm = &snd_soc_pm_ops, }, + .id_table = avs_rt298_driver_ids, }; module_platform_driver(avs_rt298_driver); MODULE_LICENSE("GPL"); -MODULE_ALIAS("platform:avs_rt298");