Skip to content

Commit

Permalink
ARM: clps711x: autcpu12: Remove incorrect config checking
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexander Shiyan authored and Olof Johansson committed Aug 14, 2013
1 parent a0d3a2d commit f09a417
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions arch/arm/mach-clps711x/board-autcpu12.c
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit f09a417

Please sign in to comment.