提交 fd76804f 编写于 作者: H Hans-Christian Egtvedt 提交者: Takashi Iwai

ALSA: fix invalid hardware.h include in ac97c for AVR32 architecture

This patch fixes the non-compiling AC97C driver for AVR32 architecture by
include mach/hardware.h only for AT91 architecture. The AVR32 architecture does
not supply the hardware.h include file.
Signed-off-by: NHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
CC: stable@kernel.org
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 c9ba374d
...@@ -33,9 +33,12 @@ ...@@ -33,9 +33,12 @@
#include <linux/dw_dmac.h> #include <linux/dw_dmac.h>
#include <mach/cpu.h> #include <mach/cpu.h>
#include <mach/hardware.h>
#include <mach/gpio.h> #include <mach/gpio.h>
#ifdef CONFIG_ARCH_AT91
#include <mach/hardware.h>
#endif
#include "ac97c.h" #include "ac97c.h"
enum { enum {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册