projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ALSA: fix invalid hardware.h include in ac97c for AVR32 architecture
[firefly-linux-kernel-4.4.55.git]
/
sound
/
atmel
/
ac97c.c
diff --git
a/sound/atmel/ac97c.c
b/sound/atmel/ac97c.c
index 10c3a871a12d904bad20cff78dfce56e8373cb92..b310702c646e40ef59afedeed630dc320b5570be 100644
(file)
--- a/
sound/atmel/ac97c.c
+++ b/
sound/atmel/ac97c.c
@@
-33,9
+33,12
@@
#include <linux/dw_dmac.h>
#include <mach/cpu.h>
-#include <mach/hardware.h>
#include <mach/gpio.h>
+#ifdef CONFIG_ARCH_AT91
+#include <mach/hardware.h>
+#endif
+
#include "ac97c.h"
enum {