diff options
author | Dinh Nguyen <Dinh.Nguyen@freescale.com> | 2011-02-23 14:52:40 -0600 |
---|---|---|
committer | Dinh Nguyen <Dinh.Nguyen@freescale.com> | 2011-03-01 15:33:10 -0600 |
commit | 0df596b2086a4c4b361c5be86e09d2b180a456a8 (patch) | |
tree | 616486e6e9ce9d884db479433789e3dfbd607a8b /arch/arm/mach-mx5/mx51_3stack_gpio.c | |
parent | 3da74e8e86327bb9a7cce9bdf67af7773a05eca6 (diff) |
ENGR00139672-2 Make use of the new mx5x_revision call
For better alignment with the upstream i.MX kernel, switch from
cpu_is_mx5x_rev() to mx5x_revision().
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
Diffstat (limited to 'arch/arm/mach-mx5/mx51_3stack_gpio.c')
-rw-r--r-- | arch/arm/mach-mx5/mx51_3stack_gpio.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-mx5/mx51_3stack_gpio.c b/arch/arm/mach-mx5/mx51_3stack_gpio.c index b0fca773eaaa..97f6eace0797 100644 --- a/arch/arm/mach-mx5/mx51_3stack_gpio.c +++ b/arch/arm/mach-mx5/mx51_3stack_gpio.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2008-2010 Freescale Semiconductor, Inc. All Rights Reserved. + * Copyright (C) 2008-2011 Freescale Semiconductor, Inc. All Rights Reserved. */ /* @@ -19,6 +19,7 @@ #include <mach/hardware.h> #include <mach/clock.h> #include <mach/gpio.h> +#include <mach/common.h> #include "iomux.h" #include "mx51_pins.h" @@ -806,7 +807,7 @@ void __init mx51_3stack_io_init(void) } /* TO3 doesn't need pad to drive CSI_DATA_EN[0] high */ - if (cpu_is_mx51_rev(CHIP_REV_3_0) > 0) + if (mx51_revision() >= IMX_CHIP_REVISION_3_0) mxc_request_iomux(MX51_PIN_EIM_A26, IOMUX_CONFIG_ALT0); /* Camera low power */ |