gta02: fix includes
The gta02 build is missing <mach/regs-gpio.h> and is also using the incorrect <asm/io.h> header (it should be <linux/io.h>). Fix these two problems.
--- sound/soc/s3c24xx/neo1973_gta02_wm8753.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
sound/soc/s3c24xx/neo1973_gta02_wm8753.c +3 -1
@@ -19,6 +19,8 @@#include <linux/interrupt.h> #include <linux/platform_device.h> #include <linux/gpio.h> +#include <linux/io.h> +#include <sound/core.h> #include <sound/pcm.h> #include <sound/soc.h>
@@ -29,7 +31,7 @@#include <plat/regs-iis.h> #include <mach/regs-clock.h> -#include <asm/io.h> +#include <mach/regs-gpioj.h> #include <mach/gta02.h> #include "../codecs/wm8753.h" #include "s3c24xx-pcm.h"
Signature · 3 lines
Ben ([email protected], http://www.fluff.org/) 'a smiley only costs 4 bytes'
Quoted 8 lines
Ben Dooks wrote:
The gta02 build is missing <mach/regs-gpio.h> and is also using the incorrect <asm/io.h> header (it should be <linux/io.h>). Fix these two problems.Signed-off-by Ben Dooks <[email protected]>Signed-off-by Simtec Linux Team <[email protected]>
Quoted 7 lines
---
sound/soc/s3c24xx/neo1973_gta02_wm8753.c| 4 +++-1 file changed, 3 insertions(+), 1 deletion(-)Index:
b/sound/soc/s3c24xx/neo1973_gta02_wm8753.c
===================================================================
---a/sound/soc/s3c24xx/neo1973_gta02_wm8753.c2009-10-10
22:55:53.000000000 +0100
Quoted 1 line
+++
b/sound/soc/s3c24xx/neo1973_gta02_wm8753.c2009-10-10
22:58:31.000000000 +0100
Quoted 10 lines
sound/soc/s3c24xx/neo1973_gta02_wm8753.c +2
-0@@ -19,6 +19,8 @@#include <linux/interrupt.h> #include <linux/platform_device.h> #include <linux/gpio.h> +#include <linux/io.h> +#include <sound/core.h> #include <sound/pcm.h> #include <sound/soc.h>
sound/soc/s3c24xx/neo1973_gta02_wm8753.c line 34
Quoted 5 lines
sound/soc/s3c24xx/neo1973_gta02_wm8753.c +1
-1@@ -29,7 +31,7 @@#include <plat/regs-iis.h> #include <mach/regs-clock.h> -#include <asm/io.h> +#include <mach/regs-gpioj.h>
This file is not using any of the symbols from regs-gpioh.h directly. It only uses GTA02_GPIO_{HP_IN,AMP_SHUT} from gta02.h which are defined as S3C2440_GPJX.
So the include of regs-gpioj.h should rather go into gta02.h than here.
- Lars