Skip to contentSkip to conversation

ARM: pxa: pxa2xx-i2s: add io.h for IOMEM macro

PATCH In review Martin Jansa 3 participants 3 messages Apr 2, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: pxa: pxa2xx-i2s: add io.h for IOMEM macro

* 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

---
 sound/soc/pxa/pxa2xx-i2s.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
sound/soc/pxa/pxa2xx-i2s.c +1 -0
index 609abd5..d085837 100644
@@ -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>
Signature · 1 line
1.7.8.5
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · Martin Jansa

* 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

Quoted 16 lines
---
 sound/soc/pxa/pxa2xx-i2s.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
sound/soc/pxa/pxa2xx-i2s.c +1 -0
index 609abd5..d085837 100644
@@ -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>
#2 lore raw
In reply to Martin Jansa
Quoted 1 line · Martin Jansa

* fixes

*Please* make some effort to use subject lines appropriate to your patches. I just about deleted this unread because it doesn't mention anything to do with audio.