Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fd76804f authored by Hans-Christian Egtvedt's avatar Hans-Christian Egtvedt Committed by Takashi Iwai
Browse files

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: default avatarHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
CC: stable@kernel.org
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent c9ba374d
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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 {