summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx3/board-mx31ads.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mx3/board-mx31ads.h')
-rw-r--r--arch/arm/mach-mx3/board-mx31ads.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-mx3/board-mx31ads.h b/arch/arm/mach-mx3/board-mx31ads.h
index 98889fa94c76..4d80ab383fed 100644
--- a/arch/arm/mach-mx3/board-mx31ads.h
+++ b/arch/arm/mach-mx3/board-mx31ads.h
@@ -1,5 +1,5 @@
/*
- * Copyright 2005-2007 Freescale Semiconductor, Inc. All Rights Reserved.
+ * Copyright 2005-2008 Freescale Semiconductor, Inc. All Rights Reserved.
*/
/*
@@ -14,6 +14,7 @@
#ifndef __ASM_ARCH_MXC_BOARD_MX31ADS_H__
#define __ASM_ARCH_MXC_BOARD_MX31ADS_H__
+#ifdef CONFIG_MACH_MX31ADS
/*!
* @defgroup BRDCFG_MX31 Board Configuration Options
* @ingroup MSL_MX31
@@ -321,4 +322,5 @@
#define MXC_BD_LED_OFF(led) \
__raw_writew(led, PBC_BASE_ADDRESS + PBC_BCTRL1_CLEAR)
+#endif /* CONFIG_MACH_MX31ADS */
#endif /* __ASM_ARCH_MXC_BOARD_MX31ADS_H__ */