[alsa-devel] [PATCH] Revert "ALSA: emu10k1: Fix warning: "CCR" redefined"
Takashi Iwai
tiwai at suse.de
Tue Mar 11 07:54:38 CET 2014
At Mon, 10 Mar 2014 21:20:55 +0100,
Geert Uytterhoeven wrote:
>
> This reverts commit 83fc3bc09518d42e8f5073e2a65884701dfadf19.
>
> sh-specific "CCR" and "CCR2" have been prefixed by "SH_" in commit
> a5f6ea29f9a918403629f8369ae55fac6b09cb53 ('sh: prefix sh-specific "CCR" and
> "CCR2" by "SH_"').
>
> Signed-off-by: Geert Uytterhoeven <geert at linux-m68k.org>
Thanks, applied.
Takashi
> ---
> include/sound/emu10k1.h | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/include/sound/emu10k1.h b/include/sound/emu10k1.h
> index dfb42ca6d043..c46908c1bb3f 100644
> --- a/include/sound/emu10k1.h
> +++ b/include/sound/emu10k1.h
> @@ -436,8 +436,6 @@
> #define CCCA_CURRADDR_MASK 0x00ffffff /* Current address of the selected channel */
> #define CCCA_CURRADDR 0x18000008
>
> -/* undefine CCR to avoid conflict with the definition for SH */
> -#undef CCR
> #define CCR 0x09 /* Cache control register */
> #define CCR_CACHEINVALIDSIZE 0x07190009
> #define CCR_CACHEINVALIDSIZE_MASK 0xfe000000 /* Number of invalid samples cache for this channel */
> --
> 1.7.9.5
>
More information about the Alsa-devel
mailing list