[alsa-devel] [PATCH 3/3] ASoC: Samsung: Debug PCM platform device name

Liam Girdwood lrg at slimlogic.co.uk
Fri Sep 10 13:19:11 CEST 2010


On Fri, 2010-09-10 at 16:41 +0900, Jassi Brar wrote:
> From: Jassi Brar <jassi.brar at samsung.com>
> 
> The PCM controller platform devices are registered by the
> name 'samsung-pcm', so use the same in the CPU driver.
> 
> Signed-off-by: Jassi Brar <jassi.brar at samsung.com>
> ---
>  sound/soc/s3c24xx/s3c-pcm.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/sound/soc/s3c24xx/s3c-pcm.c b/sound/soc/s3c24xx/s3c-pcm.c
> index d404f80..6e9139f 100644
> --- a/sound/soc/s3c24xx/s3c-pcm.c
> +++ b/sound/soc/s3c24xx/s3c-pcm.c
> @@ -525,7 +525,7 @@ static struct platform_driver s3c_pcm_driver = {
>  	.probe  = s3c_pcm_dev_probe,
>  	.remove = s3c_pcm_dev_remove,
>  	.driver = {
> -		.name = "samsung-pcm-audio",
> +		.name = "samsung-pcm",
>  		.owner = THIS_MODULE,
>  	},
>  };
> @@ -546,4 +546,4 @@ module_exit(s3c_pcm_exit);
>  MODULE_AUTHOR("Jaswinder Singh, <jassi.brar at samsung.com>");
>  MODULE_DESCRIPTION("S3C PCM Controller Driver");
>  MODULE_LICENSE("GPL");
> -MODULE_ALIAS("platform:samsung-pcm-audio");
> +MODULE_ALIAS("platform:samsung-pcm");

Acked-by: Liam Girdwood <lrg at slimlogic.co.uk>
-- 
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk



More information about the Alsa-devel mailing list