Re: [PATCH] ARM: pxa: pxa2xx-i2s: add io.h for IOMEM macro

From: Rob Herring
Date: Mon Apr 02 2012 - 08:58:51 EST


On 04/02/2012 03:24 AM, Martin Jansa wrote:
> * fixes
> sound/soc/pxa/pxa2xx-i2s.c:86:2: error: implicit declaration of function 'IOMEM' [-Werror=implicit-function-declaration]
> sound/soc/pxa/pxa2xx-i2s.c:86:2: error: initializer element is not constant
> after 23019a733bb83c8499f192fb428b7e6e81c95a34 removed IOMEM
> definition from arch/arm/mach-pxa/include/mach/hardware.h
>
> Signed-off-by: Martin Jansa <Martin.Jansa@xxxxxxxxx>

Acked-by: Rob Herring <rob.herring@xxxxxxxxxxx>

> ---
> sound/soc/pxa/pxa2xx-i2s.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/sound/soc/pxa/pxa2xx-i2s.c b/sound/soc/pxa/pxa2xx-i2s.c
> index 609abd5..d085837 100644
> --- a/sound/soc/pxa/pxa2xx-i2s.c
> +++ b/sound/soc/pxa/pxa2xx-i2s.c
> @@ -17,6 +17,7 @@
> #include <linux/delay.h>
> #include <linux/clk.h>
> #include <linux/platform_device.h>
> +#include <linux/io.h>
> #include <sound/core.h>
> #include <sound/pcm.h>
> #include <sound/initval.h>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/