]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ASoC: SAMSUNG: Clean-up DMA header file
authorSeungwhan Youn <sw.youn@samsung.com>
Fri, 7 Jan 2011 04:51:26 +0000 (13:51 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 10 Jan 2011 11:38:16 +0000 (11:38 +0000)
This patch moves DMA specific definitions, they doesn't need to be
shared, into 'dma.c' from 'dma.h'. And remove unnecessery definitions
on 'dma.h'.

Signed-off-by: Seungwhan Youn <sw.youn@samsung.com>
Acked-by: Jassi Brar <jassi.brar@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/samsung/dma.c
sound/soc/samsung/dma.h

index 21240198c5d6eacbef92609718dfd71592d8f787..c2cdb4597e560d0d9d3e5206d08cc28cefbab922 100644 (file)
@@ -32,6 +32,9 @@
 
 #include "dma.h"
 
+#define ST_RUNNING             (1<<0)
+#define ST_OPENED              (1<<1)
+
 static const struct snd_pcm_hardware dma_hardware = {
        .info                   = SNDRV_PCM_INFO_INTERLEAVED |
                                    SNDRV_PCM_INFO_BLOCK_TRANSFER |
index f8cd2b4223afa6177b18b98f9ed5fdfccd8e009c..c50659269a40353c262d7134d26c8d8aa2a57af4 100644 (file)
@@ -12,9 +12,6 @@
 #ifndef _S3C_AUDIO_H
 #define _S3C_AUDIO_H
 
-#define ST_RUNNING             (1<<0)
-#define ST_OPENED              (1<<1)
-
 struct s3c_dma_params {
        struct s3c2410_dma_client *client;      /* stream identifier */
        int channel;                            /* Channel ID */
@@ -22,9 +19,4 @@ struct s3c_dma_params {
        int dma_size;                   /* Size of the DMA transfer */
 };
 
-#define S3C24XX_DAI_I2S                        0
-
-/* platform data */
-extern struct snd_ac97_bus_ops s3c24xx_ac97_ops;
-
 #endif