From 52c27a1206f347285319c3e1f35e1ee024c944b4 Mon Sep 17 00:00:00 2001 From: Gary Zhang Date: Sun, 1 Apr 2012 13:37:55 +0800 Subject: [PATCH] ENGR00178631 MX6: fix audmux build error fix the build error for audmux located at drivers\mxc\dam Signed-off-by: Gary Zhang --- drivers/mxc/dam/dam.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/mxc/dam/dam.c b/drivers/mxc/dam/dam.c index 9e57e1a260ea..cf8c305cccb6 100644 --- a/drivers/mxc/dam/dam.c +++ b/drivers/mxc/dam/dam.c @@ -1,5 +1,5 @@ /* - * Copyright 2004-2011 Freescale Semiconductor, Inc. All Rights Reserved. + * Copyright 2004-2012 Freescale Semiconductor, Inc. All Rights Reserved. */ /* @@ -34,7 +34,9 @@ #define ModifyRegister32(a, b, c) (c = (((c)&(~(a))) | (b))) -#define DAM_VIRT_BASE_ADDR IO_ADDRESS(AUDMUX_BASE_ADDR) +#if defined(CONFIG_ARCH_MX6) +#define DAM_VIRT_BASE_ADDR IO_ADDRESS(MX6Q_AUDMUX_BASE_ADDR) +#endif #ifndef _reg_DAM_PTCR1 #define _reg_DAM_PTCR1 (*((volatile unsigned long *) \ -- 2.39.5