This patch add missing modules aliases to get sound working on omap devices. Tested on Beagleboard xM rev. B. This patch is against 3.5-rc5 vanilla. Signed-off-by: Guillaume GARDET <guillaume.gardet@xxxxxxx>
--- ./sound/soc/omap/omap-pcm.c.orig 2012-07-04 10:30:13.611641186 +0200 +++ ./sound/soc/omap/omap-pcm.c 2012-07-04 10:30:38.894034111 +0200 @@ -441,3 +441,4 @@ module_platform_driver(omap_pcm_driver); MODULE_AUTHOR("Jarkko Nikula <jarkko.nikula@xxxxxxxxxx>"); MODULE_DESCRIPTION("OMAP PCM DMA module"); MODULE_LICENSE("GPL"); +MODULE_ALIAS("platform:omap-pcm-audio"); --- ./sound/soc/omap/omap-mcbsp.c.orig 2012-07-04 10:29:14.240066817 +0200 +++ ./sound/soc/omap/omap-mcbsp.c 2012-07-04 12:03:28.020756978 +0200 @@ -820,3 +820,4 @@ module_platform_driver(asoc_mcbsp_driver MODULE_AUTHOR("Jarkko Nikula <jarkko.nikula@xxxxxxxxxx>"); MODULE_DESCRIPTION("OMAP I2S SoC Interface"); MODULE_LICENSE("GPL"); +MODULE_ALIAS("platform:omap-mcbsp-dai");