Searched refs:osk_snd_device (Results 1 – 1 of 1) sorted by relevance
108 static struct platform_device *osk_snd_device; variable119 osk_snd_device = platform_device_alloc("soc-audio", -1); in osk_soc_init()120 if (!osk_snd_device) in osk_soc_init()123 platform_set_drvdata(osk_snd_device, &snd_soc_card_osk); in osk_soc_init()124 err = platform_device_add(osk_snd_device); in osk_soc_init()128 dev = &osk_snd_device->dev; in osk_soc_init()157 platform_device_del(osk_snd_device); in osk_soc_init()159 platform_device_put(osk_snd_device); in osk_soc_init()168 platform_device_unregister(osk_snd_device); in osk_soc_exit()