ALSA: fix invalid hardware.h include in ac97c for AVR32 architecture
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Mon, 24 Jan 2011 15:09:56 +0000 (16:09 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 25 Jan 2011 17:07:10 +0000 (18:07 +0100)
commitfd76804f3f5484b35e6a51214c91e916ebba05aa
tree70f5a54bdf8ec3d95f8da2bf96f2e1fe6d0dcb41
parentc9ba374d24882c04e7cc000d8cf3b0fe56511b84
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: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
CC: stable@kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/atmel/ac97c.c