<mach/hardware.h> doesn't exist on AVR32 and therefore this driver won't
build on that arch. AFAICT this driver doesn't actually use the content
of that header so easiest just to remove it.
Signed-off-by: Ben Nizette <[email protected]>
---
diff --git a/sound/soc/atmel/atmel-pcm.c b/sound/soc/atmel/atmel-pcm.c
index 1fac5ef..3dcdc4e 100644
--- a/sound/soc/atmel/atmel-pcm.c
+++ b/sound/soc/atmel/atmel-pcm.c
@@ -44,8 +44,6 @@
#include <sound/pcm_params.h>
#include <sound/soc.h>
-#include <mach/hardware.h>
-
#include "atmel-pcm.h"
On Fri, Jan 16, 2009 at 08:45:45AM +1100, Ben Nizette wrote:
> <mach/hardware.h> doesn't exist on AVR32 and therefore this driver won't
> build on that arch. AFAICT this driver doesn't actually use the content
> of that header so easiest just to remove it.
> Signed-off-by: Ben Nizette <[email protected]>
Build tested on AT91 and applied, thanks.