diff options
Diffstat (limited to 'sound/soc/at91/at91-pcm.h')
-rw-r--r-- | sound/soc/at91/at91-pcm.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sound/soc/at91/at91-pcm.h b/sound/soc/at91/at91-pcm.h index 6c3b095725c8..58d0f00a07b2 100644 --- a/sound/soc/at91/at91-pcm.h +++ b/sound/soc/at91/at91-pcm.h | |||
@@ -16,6 +16,9 @@ | |||
16 | * published by the Free Software Foundation. | 16 | * published by the Free Software Foundation. |
17 | */ | 17 | */ |
18 | 18 | ||
19 | #ifndef _AT91_PCM_H | ||
20 | #define _AT91_PCM_H | ||
21 | |||
19 | #include <asm/arch/hardware.h> | 22 | #include <asm/arch/hardware.h> |
20 | 23 | ||
21 | struct at91_ssc_periph { | 24 | struct at91_ssc_periph { |
@@ -23,7 +26,6 @@ struct at91_ssc_periph { | |||
23 | u32 pid; | 26 | u32 pid; |
24 | }; | 27 | }; |
25 | 28 | ||
26 | |||
27 | /* | 29 | /* |
28 | * Registers and status bits that are required by the PCM driver. | 30 | * Registers and status bits that are required by the PCM driver. |
29 | */ | 31 | */ |
@@ -44,7 +46,6 @@ struct at91_ssc_mask { | |||
44 | u32 pdc_disable; /* PDC recv/trans disable */ | 46 | u32 pdc_disable; /* PDC recv/trans disable */ |
45 | }; | 47 | }; |
46 | 48 | ||
47 | |||
48 | /* | 49 | /* |
49 | * This structure, shared between the PCM driver and the interface, | 50 | * This structure, shared between the PCM driver and the interface, |
50 | * contains all information required by the PCM driver to perform the | 51 | * contains all information required by the PCM driver to perform the |
@@ -63,9 +64,9 @@ struct at91_pcm_dma_params { | |||
63 | void (*dma_intr_handler)(u32, struct snd_pcm_substream *); | 64 | void (*dma_intr_handler)(u32, struct snd_pcm_substream *); |
64 | }; | 65 | }; |
65 | 66 | ||
66 | extern struct snd_soc_cpu_dai at91_i2s_dai[3]; | ||
67 | extern struct snd_soc_platform at91_soc_platform; | 67 | extern struct snd_soc_platform at91_soc_platform; |
68 | 68 | ||
69 | |||
70 | #define at91_ssc_read(a) ((unsigned long) __raw_readl(a)) | 69 | #define at91_ssc_read(a) ((unsigned long) __raw_readl(a)) |
71 | #define at91_ssc_write(a,v) __raw_writel((v),(a)) | 70 | #define at91_ssc_write(a,v) __raw_writel((v),(a)) |
71 | |||
72 | #endif /* _AT91_PCM_H */ | ||