From: Lars-Peter Clausen <lars@metafoo.de>
To: Axel Lin <axel.lin@gmail.com>
Cc: alsa-devel@alsa-project.org,
Mark Brown <broonie@opensource.wolfsonmicro.com>,
Liam Girdwood <lrg@ti.com>
Subject: Re: [PATCH] ASoC: Include linux/io.h for jz4740 codec
Date: Tue, 06 Dec 2011 09:51:00 +0100 [thread overview]
Message-ID: <4EDDD774.3090407@metafoo.de> (raw)
In-Reply-To: <1323155940.22557.0.camel@phoenix>
On 12/06/2011 08:19 AM, Axel Lin wrote:
> Include linux/io.h to fix below build errors:
>
> CC sound/soc/codecs/jz4740.o
> sound/soc/codecs/jz4740.c: In function 'jz4740_codec_read':
> sound/soc/codecs/jz4740.c:82: error: implicit declaration of function 'readl'
> sound/soc/codecs/jz4740.c: In function 'jz4740_codec_write':
> sound/soc/codecs/jz4740.c:92: error: implicit declaration of function 'writel'
> sound/soc/codecs/jz4740.c: In function 'jz4740_codec_probe':
> sound/soc/codecs/jz4740.c:373: error: implicit declaration of function 'ioremap'
> sound/soc/codecs/jz4740.c:373: warning: assignment makes pointer from integer without a cast
> sound/soc/codecs/jz4740.c:393: error: implicit declaration of function 'iounmap'
> make[3]: *** [sound/soc/codecs/jz4740.o] Error 1
> make[2]: *** [sound/soc/codecs] Error 2
> make[1]: *** [sound/soc] Error 2
> make: *** [sound] Error 2
>
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Thanks.
> ---
> sound/soc/codecs/jz4740.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/sound/soc/codecs/jz4740.c b/sound/soc/codecs/jz4740.c
> index 517e2a5..d73d283 100644
> --- a/sound/soc/codecs/jz4740.c
> +++ b/sound/soc/codecs/jz4740.c
> @@ -15,6 +15,7 @@
> #include <linux/module.h>
> #include <linux/platform_device.h>
> #include <linux/slab.h>
> +#include <linux/io.h>
>
> #include <linux/delay.h>
>
next prev parent reply other threads:[~2011-12-06 8:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-06 7:19 [PATCH] ASoC: Include linux/io.h for jz4740 codec Axel Lin
2011-12-06 8:51 ` Lars-Peter Clausen [this message]
2011-12-06 11:02 ` Mark Brown
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=4EDDD774.3090407@metafoo.de \
--to=lars@metafoo.de \
--cc=alsa-devel@alsa-project.org \
--cc=axel.lin@gmail.com \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=lrg@ti.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.