Hi
On 09/06/2011 11:14 PM, Mans Rullgard wrote:
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 Rullgardmans.rullgard@linaro.org
sound/soc/omap/omap-mcbsp.c | 2 ++ sound/soc/omap/omap-pcm.c | 2 ++ 2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/sound/soc/omap/omap-mcbsp.c b/sound/soc/omap/omap-mcbsp.c index 07b7723..56b7504 100644 --- a/sound/soc/omap/omap-mcbsp.c +++ b/sound/soc/omap/omap-mcbsp.c @@ -758,6 +758,8 @@ static int __devexit asoc_mcbsp_remove(struct platform_device *pdev) return 0; }
+MODULE_ALIAS("platform:omap-mcbsp-dai");
Put these at the end of file where the other MODULE_ macros are.
Send updated patch to alsa-devel@alsa-project.org with Liam Girdwood and Mark Brown cc'ed (see SOUND - SOC LAYER in ./MAINTAINERS).