From patchwork Thu Sep 3 10:58:57 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luis de Bethencourt X-Patchwork-Id: 7115981 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id DC51ABEEC1 for ; Thu, 3 Sep 2015 11:02:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 20D412074A for ; Thu, 3 Sep 2015 11:02:59 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id D979E20504 for ; Thu, 3 Sep 2015 11:02:57 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 0913F2658F0; Thu, 3 Sep 2015 13:02:57 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 3CC3E265849; Thu, 3 Sep 2015 13:01:18 +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 7107E265928; Thu, 3 Sep 2015 13:01:17 +0200 (CEST) Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by alsa0.perex.cz (Postfix) with ESMTP id 895FA2657D9 for ; Thu, 3 Sep 2015 12:58:58 +0200 (CEST) Received: by wicmc4 with SMTP id mc4so15710406wic.0 for ; Thu, 03 Sep 2015 03:58:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=6QKOtDtfhnEJVw/oxSR44UieCnR/ZMoYm82woUxvc3k=; b=K9QlEuBerzoCB0MWahoNwAAz9OSifkKOCJ8/d3HvFZ+7WPGRnFDW2lVzQxQUQA82kG FSn1U504/pZsjGIMVGXGy9D6KnWHlQZZmG7PDvY8Hm0/ahDdExcsyHZc4yr3HYMmVVZg CDHXODLS7qj1xDEw6sEIHqMrydwUDkLt3OfKMUGUMjedt/ykIwOMtjE/Wdi5nQR/qjM5 dL1t7NgNup0zQ97nUasaE29Oo/MgKo/wsiy8t4iwdY4/EdZvNTXx1/N4qy4p6prP1jqT ty5UQYR3qMGVoUBWUvyzvk52mQnXldkcN/bI5cXP/SMhRIET305IDKnzqVf6+rlfEJno WVew== X-Received: by 10.194.84.129 with SMTP id z1mr20426387wjy.17.1441277938374; Thu, 03 Sep 2015 03:58:58 -0700 (PDT) Received: from localhost (goodgumbo.baconseed.org. [94.23.38.65]) by smtp.gmail.com with ESMTPSA id hr17sm8396153wib.16.2015.09.03.03.58.57 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 03 Sep 2015 03:58:57 -0700 (PDT) Date: Thu, 3 Sep 2015 12:58:57 +0200 From: Luis de Bethencourt To: linux-kernel@vger.kernel.org Message-ID: <20150903105857.GA16943@goodgumbo.baconseed.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: alsa-devel@alsa-project.org, Lars-Peter Clausen , Zubair Lutfullah Kakakhel , Wolfram Sang , Takashi Iwai , Liam Girdwood , Javier Martinez Canillas , Mark Brown Subject: [alsa-devel] [PATCH 08/12] ASoC: jz4740: Fix module autoload for OF platform driver 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 This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- sound/soc/jz4740/jz4740-i2s.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/jz4740/jz4740-i2s.c b/sound/soc/jz4740/jz4740-i2s.c index b05fb1c..794a349 100644 --- a/sound/soc/jz4740/jz4740-i2s.c +++ b/sound/soc/jz4740/jz4740-i2s.c @@ -485,6 +485,7 @@ static const struct of_device_id jz4740_of_matches[] = { { .compatible = "ingenic,jz4780-i2s", .data = (void *)JZ_I2S_JZ4780 }, { /* sentinel */ } }; +MODULE_DEVICE_TABLE(of, jz4740_of_matches); #endif static int jz4740_i2s_dev_probe(struct platform_device *pdev)