]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ASoC: S3C: I2Sv2: Move defines closer to driver
authorJassi Brar <jassi.brar@samsung.com>
Tue, 27 Apr 2010 06:55:21 +0000 (15:55 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 5 May 2010 14:10:39 +0000 (15:10 +0100)
The header for I2Sv2
   linux/arch/arm/plat-s3c/include/plat/regs-s3c2412-iis.h
contains only controller specific definitions and nothing
SoC specific. So, it could be moved to sound/soc/s3c24xx/

Signed-off-by: Jassi Brar <jassi.brar@samsung.com>
Acked-by: Ben Dooks <ben-linux@fluff.org>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/s3c24xx/regs-i2s-v2.h [moved from arch/arm/plat-samsung/include/plat/regs-s3c2412-iis.h with 100% similarity]
sound/soc/s3c24xx/s3c-i2s-v2.c
sound/soc/s3c24xx/s3c2412-i2s.c
sound/soc/s3c24xx/s3c64xx-i2s.c

index 865f93143bf1887e0a3c0139ae3f75c11c6b4d61..cb3652ed057d6aad47ca37237bcbb23e13a50b0b 100644 (file)
 #include <sound/pcm_params.h>
 #include <sound/soc.h>
 
-#include <plat/regs-s3c2412-iis.h>
-
 #include <mach/dma.h>
 
+#include "regs-i2s-v2.h"
 #include "s3c-i2s-v2.h"
 #include "s3c-dma.h"
 
index f3148f98b4191e951b9d45faed47d8efa136e72b..7134465693e3023b442bfd9521e3c92a4d8abb92 100644 (file)
 #include <sound/soc.h>
 #include <mach/hardware.h>
 
-#include <plat/regs-s3c2412-iis.h>
-
 #include <mach/regs-gpio.h>
 #include <mach/dma.h>
 
 #include "s3c-dma.h"
+#include "regs-i2s-v2.h"
 #include "s3c2412-i2s.h"
 
 #define S3C2412_I2S_DEBUG 0
index ab1fa159d3ae5de316c6a7138bf011a11256e483..b7e951fe30a6b95b088baedf96c542ed10bae022 100644 (file)
@@ -18,7 +18,6 @@
 
 #include <sound/soc.h>
 
-#include <plat/regs-s3c2412-iis.h>
 #include <mach/gpio-bank-d.h>
 #include <mach/gpio-bank-e.h>
 #include <plat/gpio-cfg.h>
@@ -27,6 +26,7 @@
 #include <mach/dma.h>
 
 #include "s3c-dma.h"
+#include "regs-i2s-v2.h"
 #include "s3c64xx-i2s.h"
 
 /* The value should be set to maximum of the total number