summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-clps711x
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2013-07-18 22:34:54 +0400
committerOlof Johansson <olof@lixom.net>2013-08-13 23:29:14 -0700
commitf09a417a4e1abc05eea2b255aa1a5a9834e5df3c (patch)
tree290b058aafe62edc025b1ea58b43f211e8e1f5e9 /arch/arm/mach-clps711x
parenta0d3a2d92ef5d421f750572d48654976670eade4 (diff)
downloadlinux-f09a417a4e1abc05eea2b255aa1a5a9834e5df3c.tar.gz
linux-f09a417a4e1abc05eea2b255aa1a5a9834e5df3c.tar.bz2
linux-f09a417a4e1abc05eea2b255aa1a5a9834e5df3c.zip
ARM: clps711x: autcpu12: Remove incorrect config checking
This patch removes incorrect config symbols checking since these symbols not contain "CONFIG_" prefix. Anyway, checking is unneeded here and this patch remove it completely. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-clps711x')
-rw-r--r--arch/arm/mach-clps711x/board-autcpu12.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/mach-clps711x/board-autcpu12.c b/arch/arm/mach-clps711x/board-autcpu12.c
index 5867aebd8d0c..f8d71a89644a 100644
--- a/arch/arm/mach-clps711x/board-autcpu12.c
+++ b/arch/arm/mach-clps711x/board-autcpu12.c
@@ -259,11 +259,7 @@ static void __init autcpu12_init(void)
static void __init autcpu12_init_late(void)
{
gpio_request_array(autcpu12_gpios, ARRAY_SIZE(autcpu12_gpios));
-
- if (IS_ENABLED(MTD_NAND_GPIO) && IS_ENABLED(GPIO_GENERIC_PLATFORM)) {
- /* We are need both drivers to handle NAND */
- platform_device_register(&autcpu12_nand_pdev);
- }
+ platform_device_register(&autcpu12_nand_pdev);
}
MACHINE_START(AUTCPU12, "autronix autcpu12")