From patchwork Wed Jun 24 02:55:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 6664611 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 123DE9F380 for ; Wed, 24 Jun 2015 02:55:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 42F9C20614 for ; Wed, 24 Jun 2015 02:55:50 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id E0E9A2060B for ; Wed, 24 Jun 2015 02:55:48 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 8DA1D265818; Wed, 24 Jun 2015 04:55:47 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 94A2F2657DD; Wed, 24 Jun 2015 04:55:39 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 7961C26579E; Wed, 24 Jun 2015 04:55:38 +0200 (CEST) Received: from mail-pd0-f182.google.com (mail-pd0-f182.google.com [209.85.192.182]) by alsa0.perex.cz (Postfix) with ESMTP id 3B4A426579E for ; Wed, 24 Jun 2015 04:55:31 +0200 (CEST) Received: by pdjn11 with SMTP id n11so20135261pdj.0 for ; Tue, 23 Jun 2015 19:55:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:subject:from:to:cc:date:content-type :mime-version:content-transfer-encoding; bh=Ns5LdB+kBd5dgLAfdkaCig5IplJqcGrC4VSNAda+SIQ=; b=hrNQ43DgQkAUt0gx3sjXTpwFaDOho5Li0Cne/D75+SI332J4vnqYBZjRlHE8UQ1OaG p0D4Q4eyGoCVjT5WuOWdl5gyTm+oGoyWudKS10RlIQTXT5Nb76o2fQys8NKfPH7fH1aU xdprXAJZod5niayx62lnTRygmOS4n3sTnAAQLc7j2Qf7JApzGQ3ecNpxW6yfCYAdOoGL /XhPVTqyOPdNdW8J5M2EzJ2BLwxhbyn+bXXArAcAd1hTvzl3BZv9hLoEf9U1NtwLmNQJ cBCMs6QzfufZPjgsFXWyhOh5WOFDeUrVWB5defyKULZEhlAMjziD8d6G3KXjFLsNZSgk +DNQ== X-Gm-Message-State: ALoCoQlm38/AZCWN+U3P2mtZAcopJdifeR+j151orL68C7uTsauh3OkiC1SLxPzn01T2Mcmzo4W0 X-Received: by 10.70.18.130 with SMTP id w2mr75082659pdd.73.1435114529937; Tue, 23 Jun 2015 19:55:29 -0700 (PDT) Received: from phoenix.local (36-239-240-88.dynamic-ip.hinet.net. [36.239.240.88]) by mx.google.com with ESMTPSA id h5sm24117497pat.9.2015.06.23.19.55.27 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Jun 2015 19:55:28 -0700 (PDT) Message-ID: <1435114524.2082.1.camel@ingics.com> From: Axel Lin To: Mark Brown Date: Wed, 24 Jun 2015 10:55:24 +0800 X-Mailer: Evolution 3.12.10-0ubuntu1~14.10.1 Mime-Version: 1.0 Cc: Marek Belisko , Liam Girdwood , alsa-devel@alsa-project.org Subject: [alsa-devel] [PATCH 1/2] ASoC: gtm601: Fix modalias X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP The MODULE_ALIAS needs to match the driver name to make module auto-loading work. Also move MODULE_ALIAS close to other MODULE_* macro. Signed-off-by: Axel Lin --- sound/soc/codecs/gtm601.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sound/soc/codecs/gtm601.c b/sound/soc/codecs/gtm601.c index 1b77ff2..a696e3e 100644 --- a/sound/soc/codecs/gtm601.c +++ b/sound/soc/codecs/gtm601.c @@ -70,8 +70,6 @@ static int gtm601_platform_remove(struct platform_device *pdev) return 0; } -MODULE_ALIAS("platform:gtm601_codec_audio"); - #if defined(CONFIG_OF) static const struct of_device_id gtm601_codec_of_match[] = { { .compatible = "option,gtm601", }, @@ -96,3 +94,4 @@ module_platform_driver(gtm601_codec_driver); MODULE_DESCRIPTION("ASoC gtm601 driver"); MODULE_AUTHOR("Marek Belisko "); MODULE_LICENSE("GPL"); +MODULE_ALIAS("platform:gtm601");