Skip to content

Commit

Permalink
ASoC: S3C: I2Sv2: Move defines closer to driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jassi Brar authored and Mark Brown committed May 5, 2010
1 parent 985d8c4 commit d07e7ce
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
File renamed without changes.
3 changes: 1 addition & 2 deletions sound/soc/s3c24xx/s3c-i2s-v2.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,9 @@
#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"

Expand Down
3 changes: 1 addition & 2 deletions sound/soc/s3c24xx/s3c2412-i2s.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,11 @@
#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
Expand Down
2 changes: 1 addition & 1 deletion sound/soc/s3c24xx/s3c64xx-i2s.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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
Expand Down

0 comments on commit d07e7ce

Please sign in to comment.