From patchwork Wed Sep 7 11:07:21 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mans Rullgard X-Patchwork-Id: 1128102 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p87H90v4014424 for ; Wed, 7 Sep 2011 17:09:03 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755165Ab1IGRHR (ORCPT ); Wed, 7 Sep 2011 13:07:17 -0400 Received: from unicorn.mansr.com ([78.86.181.103]:36080 "EHLO unicorn.mansr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755065Ab1IGRHP (ORCPT ); Wed, 7 Sep 2011 13:07:15 -0400 Received: by unicorn.mansr.com (Postfix, from userid 51770) id 66CE815059; Wed, 7 Sep 2011 12:08:55 +0100 (BST) From: Mans Rullgard To: linux-omap@vger.kernel.org Cc: linaro-dev@lists.linaro.org, Jarkko Nikula , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] ASoC: omap: add MODULE_ALIAS to mcbsp and pcm drivers Date: Wed, 7 Sep 2011 12:07:21 +0100 Message-Id: <1315393641-21261-1-git-send-email-mans.rullgard@linaro.org> X-Mailer: git-send-email 1.7.6.1 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Wed, 07 Sep 2011 17:09:04 +0000 (UTC) This adds MODULE_ALIAS directives to the omap-mcbsp-dai and omap-pcm-audio drivers so they can be auto-loaded when platform devices are scanned. Signed-off-by: Mans Rullgard Acked-by: Mark Brown Acked-by: Jarkko Nikula --- sound/soc/omap/omap-mcbsp.c | 1 + sound/soc/omap/omap-pcm.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/sound/soc/omap/omap-mcbsp.c b/sound/soc/omap/omap-mcbsp.c index 07b7723..5ddfadd 100644 --- a/sound/soc/omap/omap-mcbsp.c +++ b/sound/soc/omap/omap-mcbsp.c @@ -783,3 +783,4 @@ module_exit(snd_omap_mcbsp_exit); MODULE_AUTHOR("Jarkko Nikula "); MODULE_DESCRIPTION("OMAP I2S SoC Interface"); MODULE_LICENSE("GPL"); +MODULE_ALIAS("platform:omap-mcbsp-dai"); diff --git a/sound/soc/omap/omap-pcm.c b/sound/soc/omap/omap-pcm.c index e6a6b99..f19ccc1 100644 --- a/sound/soc/omap/omap-pcm.c +++ b/sound/soc/omap/omap-pcm.c @@ -437,3 +437,4 @@ module_exit(snd_omap_pcm_exit); MODULE_AUTHOR("Jarkko Nikula "); MODULE_DESCRIPTION("OMAP PCM DMA module"); MODULE_LICENSE("GPL"); +MODULE_ALIAS("platform:omap-pcm-audio");