Re: [PATCH] Revert "ALSA: emu10k1: Fix warning: "CCR" redefined"

From: Takashi Iwai
Date: Tue Mar 11 2014 - 02:54:48 EST


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@xxxxxxxxxxxxxx>

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
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/