[PATCH] ASoC: Remove some unused headers from the GTA02 audio driver
Mark Brown
broonie at opensource.wolfsonmicro.com
Tue Mar 3 11:56:47 CET 2009
Stops anyone wondering what they're needed for.
Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
---
sound/soc/s3c24xx/neo1973_gta02_wm8753.c | 16 ----------------
1 files changed, 0 insertions(+), 16 deletions(-)
diff --git a/sound/soc/s3c24xx/neo1973_gta02_wm8753.c b/sound/soc/s3c24xx/neo1973_gta02_wm8753.c
index 561c9f1..8e2c7fd 100644
--- a/sound/soc/s3c24xx/neo1973_gta02_wm8753.c
+++ b/sound/soc/s3c24xx/neo1973_gta02_wm8753.c
@@ -17,41 +17,25 @@
#include <linux/timer.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
-#include <linux/i2c.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/soc.h>
#include <sound/soc-dapm.h>
#include <asm/mach-types.h>
-#include <asm/hardware/scoop.h>
#include <plat/regs-iis.h>
#include <mach/regs-clock.h>
#include <mach/regs-gpio.h>
#include <mach/hardware.h>
-//#include <mach/audio.h>
#include <asm/io.h>
-#include <mach/spi-gpio.h>
#include <mach/regs-gpioj.h>
#include <mach/gta02.h>
#include "../codecs/wm8753.h"
#include "s3c24xx-pcm.h"
#include "s3c24xx-i2s.h"
-/* define the scenarios */
-#define NEO_AUDIO_OFF 0
-#define NEO_GSM_CALL_AUDIO_HANDSET 1
-#define NEO_GSM_CALL_AUDIO_HEADSET 2
-#define NEO_GSM_CALL_AUDIO_BLUETOOTH 3
-#define NEO_STEREO_TO_SPEAKERS 4
-#define NEO_STEREO_TO_HEADPHONES 5
-#define NEO_CAPTURE_HANDSET 6
-#define NEO_CAPTURE_HEADSET 7
-#define NEO_CAPTURE_BLUETOOTH 8
-#define NEO_STEREO_TO_HANDSET_SPK 9
-
static struct snd_soc_card neo1973_gta02;
static int neo1973_gta02_hifi_hw_params(struct snd_pcm_substream *substream,
--
1.5.6.3
More information about the openmoko-kernel
mailing list