2009-01-15 21:45:51

by Ben Nizette

[permalink] [raw]
Subject: [PATCH] atmel_pcm: Remove non-existant header


<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"




2009-01-16 10:43:30

by Mark Brown

[permalink] [raw]
Subject: Re: [PATCH] atmel_pcm: Remove non-existant header

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.