diff options
author | Afzal Mohammed <afzal@ti.com> | 2012-09-29 08:56:13 +0200 |
---|---|---|
committer | Afzal Mohammed <afzal@ti.com> | 2012-10-15 11:12:05 +0200 |
commit | bc3668ea046be9e841eecfab04bddfa759e765d6 (patch) | |
tree | 48dd86e24b260351feed63499d277dc61e7f5a98 /arch/arm/mach-omap2/board-cm-t35.c | |
parent | ARM: OMAP2+: onenand: header cleanup (diff) | |
download | linux-bc3668ea046be9e841eecfab04bddfa759e765d6.tar.xz linux-bc3668ea046be9e841eecfab04bddfa759e765d6.zip |
ARM: OMAP2+: nand: header cleanup
For common arm zImage existing nand header file
in platform specific location was moved to generic
platform data location, but it contained more than
platform data, remove it. New local header has been
created for exposing functions.
Also move gpmc-nand platform data to platform header
meant for nand from gpmc header file
Signed-off-by: Afzal Mohammed <afzal@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-cm-t35.c')
-rw-r--r-- | arch/arm/mach-omap2/board-cm-t35.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-cm-t35.c b/arch/arm/mach-omap2/board-cm-t35.c index 376d26eb601c..fef68de716b5 100644 --- a/arch/arm/mach-omap2/board-cm-t35.c +++ b/arch/arm/mach-omap2/board-cm-t35.c @@ -53,6 +53,7 @@ #include "sdram-micron-mt46h32m32lf-6.h" #include "hsmmc.h" #include "common-board-devices.h" +#include "gpmc-nand.h" #define CM_T35_GPIO_PENDOWN 57 #define SB_T35_USB_HUB_RESET_GPIO 167 @@ -181,7 +182,7 @@ static struct omap_nand_platform_data cm_t35_nand_data = { static void __init cm_t35_init_nand(void) { - if (gpmc_nand_init(&cm_t35_nand_data) < 0) + if (gpmc_nand_init(&cm_t35_nand_data, NULL) < 0) pr_err("CM-T35: Unable to register NAND device\n"); } #else |