From: Tony Lin Date: Thu, 2 Feb 2012 05:59:05 +0000 (+0800) Subject: ENGR00173615-1 [mx6q]add mx6q_revision to common header file X-Git-Tag: v3.0.35-fsl~1555 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=51eec30bcc0b9b5dbbb611c1b89555444479cf44;p=karo-tx-linux.git ENGR00173615-1 [mx6q]add mx6q_revision to common header file the common API is needed by drivers to distinguish TO version Signed-off-by: Tony Lin --- diff --git a/arch/arm/plat-mxc/include/mach/mxc.h b/arch/arm/plat-mxc/include/mach/mxc.h index 628ef1467a6b..7ce96e0bfb05 100755 --- a/arch/arm/plat-mxc/include/mach/mxc.h +++ b/arch/arm/plat-mxc/include/mach/mxc.h @@ -1,5 +1,5 @@ /* - * Copyright 2004-2007, 2011 Freescale Semiconductor, Inc. + * Copyright 2004-2007, 2012 Freescale Semiconductor, Inc. * Copyright (C) 2008 Juergen Beisert (kernel@pengutronix.de) * * This program is free software; you can redistribute it and/or @@ -90,6 +90,11 @@ extern unsigned int system_rev; board_is_rev(IMX_BOARD_REV_2)) #define board_is_mx6q_sabre_auto() (cpu_is_mx6q() && \ board_is_rev(IMX_BOARD_REV_3)) + +#ifndef __ASSEMBLY__ +extern int mx6q_revision(void); +#endif + #endif #ifndef __ASSEMBLY__