Searched refs:s3c24xx_snd_device (Results 1 – 2 of 2) sorted by relevance
160 static struct platform_device *s3c24xx_snd_device; variable226 s3c24xx_snd_device = platform_device_alloc("soc-audio", -1); in h1940_init()227 if (!s3c24xx_snd_device) { in h1940_init()232 platform_set_drvdata(s3c24xx_snd_device, &h1940_asoc); in h1940_init()233 ret = platform_device_add(s3c24xx_snd_device); in h1940_init()241 platform_device_put(s3c24xx_snd_device); in h1940_init()251 platform_device_unregister(s3c24xx_snd_device); in h1940_exit()
131 static struct platform_device *s3c24xx_snd_device; variable246 s3c24xx_snd_device = platform_device_alloc("soc-audio", -1); in rx1950_init()247 if (!s3c24xx_snd_device) { in rx1950_init()252 platform_set_drvdata(s3c24xx_snd_device, &rx1950_asoc); in rx1950_init()253 ret = platform_device_add(s3c24xx_snd_device); in rx1950_init()256 platform_device_put(s3c24xx_snd_device); in rx1950_init()273 platform_device_unregister(s3c24xx_snd_device); in rx1950_exit()