Jassi Brar | 5033f43 | 2010-11-22 15:37:25 +0900 | [diff] [blame] | 1 | /* sound/soc/samsung/s3c24xx_simtec.h |
Ben Dooks | 14412ac | 2009-08-20 22:50:40 +0100 | [diff] [blame] | 2 | * |
| 3 | * Copyright 2009 Simtec Electronics |
| 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License version 2 as |
| 7 | * published by the Free Software Foundation. |
| 8 | */ |
| 9 | |
Liam Girdwood | f0fba2a | 2010-03-17 20:15:21 +0000 | [diff] [blame] | 10 | extern void simtec_audio_init(struct snd_soc_pcm_runtime *rtd); |
Ben Dooks | 14412ac | 2009-08-20 22:50:40 +0100 | [diff] [blame] | 11 | |
| 12 | extern int simtec_audio_core_probe(struct platform_device *pdev, |
Liam Girdwood | f0fba2a | 2010-03-17 20:15:21 +0000 | [diff] [blame] | 13 | struct snd_soc_card *card); |
Ben Dooks | 14412ac | 2009-08-20 22:50:40 +0100 | [diff] [blame] | 14 | |
| 15 | extern int simtec_audio_remove(struct platform_device *pdev); |
| 16 | |
| 17 | #ifdef CONFIG_PM |
Alexey Dobriyan | 4714521 | 2009-12-14 18:00:08 -0800 | [diff] [blame] | 18 | extern const struct dev_pm_ops simtec_audio_pmops; |
Ben Dooks | 14412ac | 2009-08-20 22:50:40 +0100 | [diff] [blame] | 19 | #define simtec_audio_pm &simtec_audio_pmops |
| 20 | #else |
| 21 | #define simtec_audio_pm NULL |
| 22 | #endif |