dma-sh7760.c (b2aaf8f74cdc84a9182f6cabf198b7763bcb9d40) | dma-sh7760.c (958e792c7c8f06a9e666adb0ed94fff2cf90156f) |
---|---|
1/* 2 * SH7760 ("camelot") DMABRG audio DMA unit support 3 * 4 * Copyright (C) 2007 Manuel Lauss <mano@roarinelk.homelinux.net> 5 * licensed under the terms outlined in the file COPYING at the root 6 * of the linux kernel sources. 7 * 8 * The SH7760 DMABRG provides 4 dma channels (2x rec, 2x play), which --- 334 unchanged lines hidden (view full) --- 343struct snd_soc_platform sh7760_soc_platform = { 344 .name = "sh7760-pcm", 345 .pcm_ops = &camelot_pcm_ops, 346 .pcm_new = camelot_pcm_new, 347 .pcm_free = camelot_pcm_free, 348}; 349EXPORT_SYMBOL_GPL(sh7760_soc_platform); 350 | 1/* 2 * SH7760 ("camelot") DMABRG audio DMA unit support 3 * 4 * Copyright (C) 2007 Manuel Lauss <mano@roarinelk.homelinux.net> 5 * licensed under the terms outlined in the file COPYING at the root 6 * of the linux kernel sources. 7 * 8 * The SH7760 DMABRG provides 4 dma channels (2x rec, 2x play), which --- 334 unchanged lines hidden (view full) --- 343struct snd_soc_platform sh7760_soc_platform = { 344 .name = "sh7760-pcm", 345 .pcm_ops = &camelot_pcm_ops, 346 .pcm_new = camelot_pcm_new, 347 .pcm_free = camelot_pcm_free, 348}; 349EXPORT_SYMBOL_GPL(sh7760_soc_platform); 350 |
351static int __devinit sh7760_soc_platform_init(void) 352{ 353 return snd_soc_register_platform(&sh7760_soc_platform); 354} 355module_init(sh7760_soc_platform_init); 356 357static void __exit sh7760_soc_platform_exit(void) 358{ 359 snd_soc_unregister_platform(&sh7760_soc_platform); 360} 361module_exit(sh7760_soc_platform_exit); 362 |
|
351MODULE_LICENSE("GPL"); 352MODULE_DESCRIPTION("SH7760 Audio DMA (DMABRG) driver"); 353MODULE_AUTHOR("Manuel Lauss <mano@roarinelk.homelinux.net>"); | 363MODULE_LICENSE("GPL"); 364MODULE_DESCRIPTION("SH7760 Audio DMA (DMABRG) driver"); 365MODULE_AUTHOR("Manuel Lauss <mano@roarinelk.homelinux.net>"); |