From: Ben Dooks <ben@simtec.co.uk>
To: broonie@opensource.wolfsonmicro.com, alsa-devel@alsa-project.org
Cc: Simtec Linux Team <linux@simtec.co.uk>
Subject: gta02: fix includes
Date: Mon, 12 Oct 2009 21:17:00 +0100 [thread overview]
Message-ID: <20091012201700.042515646@fluff.org.uk> (raw)
[-- Attachment #1: fix-gta02-audio.patch --]
[-- Type: text/plain, Size: 1139 bytes --]
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 <ben@simtec.co.uk>
Signed-off-by: Simtec Linux Team <linux@simtec.co.uk>
---
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.c 2009-10-10 22:55:53.000000000 +0100
+++ b/sound/soc/s3c24xx/neo1973_gta02_wm8753.c 2009-10-10 22:58:31.000000000 +0100
@@ -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"
--
Ben (ben@fluff.org, http://www.fluff.org/)
'a smiley only costs 4 bytes'
next reply other threads:[~2009-10-12 20:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-12 20:17 Ben Dooks [this message]
2009-10-12 23:22 ` gta02: fix includes Lars-Peter Clausen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091012201700.042515646@fluff.org.uk \
--to=ben@simtec.co.uk \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=linux@simtec.co.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox