Re: [PATCH v3] ALSA: atmel: fix building the ac97 driver for at91-multiplatform

2014-12-27 Thread Takashi Iwai
At Fri, 26 Dec 2014 14:27:58 +0100, Alexandre Belloni wrote: > > From: Arnd Bergmann > > at91 will no longer export the mach/cpu.h and mach/hardware.h header files > in the future, which would break building the atmel ac97c driver. > > Since the cpu_is_* check is only used to find out whether w

[PATCH v3] ALSA: atmel: fix building the ac97 driver for at91-multiplatform

2014-12-26 Thread Alexandre Belloni
From: Arnd Bergmann at91 will no longer export the mach/cpu.h and mach/hardware.h header files in the future, which would break building the atmel ac97c driver. Since the cpu_is_* check is only used to find out whether we are running on avr32 or arm/at91, we can hardcode that check in the ARM ca