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 Rullgard<mans.rullgard@xxxxxxxxxx>
---
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@xxxxxxxxxxxxxxxx with Liam Girdwood and
Mark Brown cc'ed (see SOUND - SOC LAYER in ./MAINTAINERS).
--
Jarkko
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html