From patchwork Thu Sep 3 10:57:47 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: 513993 X-Patchwork-Delegate: scottwood@freescale.com Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 315921401DA for ; Thu, 3 Sep 2015 21:13:15 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=WA7/47p+; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 137371A2AA6 for ; Thu, 3 Sep 2015 21:13:15 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=WA7/47p+; dkim-atps=neutral X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Received: from mail-wi0-x236.google.com (mail-wi0-x236.google.com [IPv6:2a00:1450:400c:c05::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id A0CC71A1FB8 for ; Thu, 3 Sep 2015 20:57:51 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=WA7/47p+; dkim-atps=neutral Received: by wicmc4 with SMTP id mc4so15679398wic.0 for ; Thu, 03 Sep 2015 03:57:48 -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=IegtvPyPuCsfkkutGSCYgrANqIhyA6Nykao59u7XUs4=; b=WA7/47p+bnOoeTyTANvbmFSUzMdXDo4cFWz4XJKYn55aopNlo/j3lQfEHuEHvO9B/q WvYuhjlMYGtXf+O9kxvfynpxXEdVCEhIUuWGJfcrLUEKOqCX8DjMNWpRsRHQyadCHw7g mOF50DEMNIp8XLz6ugui8CpUOT7zQTMwb4Gk+SJeSK/aAhTe2AIV5raQdMXuuwhne0uL 8iO6at9zJsUR1nUPlFkM4aPc/wGJsxkbOeLYa4YU0oBA0sLd971cEuq3Pk0+zGkpH04J 1wPJjlT4LLE+xKo3ZYg8TuZ6BVamREF6lOjx8UcAhRMMrqVhDg5v1gzCPos48zKpT6Jb 3kbA== X-Received: by 10.181.25.234 with SMTP id it10mr13215213wid.41.1441277868251; Thu, 03 Sep 2015 03:57:48 -0700 (PDT) Received: from localhost (goodgumbo.baconseed.org. [94.23.38.65]) by smtp.gmail.com with ESMTPSA id gv1sm8394398wib.15.2015.09.03.03.57.47 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 03 Sep 2015 03:57:47 -0700 (PDT) Date: Thu, 3 Sep 2015 12:57:47 +0200 From: Luis de Bethencourt To: linux-kernel@vger.kernel.org Subject: [PATCH 06/12] ASoC: fsl-asoc-card: Fix module autoload for OF platform driver Message-ID: <20150903105747.GA16881@goodgumbo.baconseed.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Mailman-Approved-At: Thu, 03 Sep 2015 21:11:56 +1000 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alsa-devel@alsa-project.org, Timur Tabi , Xiubo Li , Takashi Iwai , Liam Girdwood , Jaroslav Kysela , Nicolin Chen , Javier Martinez Canillas , Mark Brown , linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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/fsl/fsl-asoc-card.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/fsl/fsl-asoc-card.c b/sound/soc/fsl/fsl-asoc-card.c index de43887..ca8b469 100644 --- a/sound/soc/fsl/fsl-asoc-card.c +++ b/sound/soc/fsl/fsl-asoc-card.c @@ -580,6 +580,7 @@ static const struct of_device_id fsl_asoc_card_dt_ids[] = { { .compatible = "fsl,imx-audio-wm8962", }, {} }; +MODULE_DEVICE_TABLE(of, fsl_asoc_card_dt_ids); static struct platform_driver fsl_asoc_card_driver = { .probe = fsl_asoc_card_probe,