[alsa-devel] [PATCH] ASoC: remove unnecessary header including in SGTL5000 codec driver
zhaoming.zeng at freescale.com
zhaoming.zeng at freescale.com
Sun Feb 27 20:45:21 CET 2011
From: Zeng Zhaoming <b32542 at freescale.com>
Remove unnecessary headers:
- mach/hardware.h in sgtl5000.c
- linux/i2c.h in sgtl5000.h
Signed-off-by: Zeng Zhaoming <b32542 at freescale.com>
---
sound/soc/codecs/sgtl5000.c | 1 -
sound/soc/codecs/sgtl5000.h | 2 --
2 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/sound/soc/codecs/sgtl5000.c b/sound/soc/codecs/sgtl5000.c
index 9eb206e..b528f97 100644
--- a/sound/soc/codecs/sgtl5000.c
+++ b/sound/soc/codecs/sgtl5000.c
@@ -27,7 +27,6 @@
#include <sound/soc.h>
#include <sound/soc-dapm.h>
#include <sound/initval.h>
-#include <mach/hardware.h>
#include "sgtl5000.h"
diff --git a/sound/soc/codecs/sgtl5000.h b/sound/soc/codecs/sgtl5000.h
index c29312a..eec3ab3 100644
--- a/sound/soc/codecs/sgtl5000.h
+++ b/sound/soc/codecs/sgtl5000.h
@@ -11,8 +11,6 @@
#ifndef _SGTL5000_H
#define _SGTL5000_H
-#include <linux/i2c.h>
-
/*
* Register values.
*/
--
1.7.0.4
More information about the Alsa-devel
mailing list