diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-cm-t35.c')
-rw-r--r-- | arch/arm/mach-omap2/board-cm-t35.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/board-cm-t35.c b/arch/arm/mach-omap2/board-cm-t35.c index 376d26eb601c..a8cad2237a2a 100644 --- a/arch/arm/mach-omap2/board-cm-t35.c +++ b/arch/arm/mach-omap2/board-cm-t35.c | |||
@@ -38,21 +38,19 @@ | |||
38 | #include <asm/mach/arch.h> | 38 | #include <asm/mach/arch.h> |
39 | #include <asm/mach/map.h> | 39 | #include <asm/mach/map.h> |
40 | 40 | ||
41 | #include "common.h" | ||
42 | #include <linux/platform_data/mtd-nand-omap2.h> | 41 | #include <linux/platform_data/mtd-nand-omap2.h> |
43 | #include <plat/gpmc.h> | ||
44 | #include <plat/usb.h> | ||
45 | #include <video/omapdss.h> | 42 | #include <video/omapdss.h> |
46 | #include <video/omap-panel-generic-dpi.h> | 43 | #include <video/omap-panel-generic-dpi.h> |
47 | #include <video/omap-panel-tfp410.h> | 44 | #include <video/omap-panel-tfp410.h> |
48 | #include <linux/platform_data/spi-omap2-mcspi.h> | 45 | #include <linux/platform_data/spi-omap2-mcspi.h> |
49 | 46 | ||
50 | #include <mach/hardware.h> | 47 | #include "common.h" |
51 | |||
52 | #include "mux.h" | 48 | #include "mux.h" |
53 | #include "sdram-micron-mt46h32m32lf-6.h" | 49 | #include "sdram-micron-mt46h32m32lf-6.h" |
54 | #include "hsmmc.h" | 50 | #include "hsmmc.h" |
55 | #include "common-board-devices.h" | 51 | #include "common-board-devices.h" |
52 | #include "gpmc.h" | ||
53 | #include "gpmc-nand.h" | ||
56 | 54 | ||
57 | #define CM_T35_GPIO_PENDOWN 57 | 55 | #define CM_T35_GPIO_PENDOWN 57 |
58 | #define SB_T35_USB_HUB_RESET_GPIO 167 | 56 | #define SB_T35_USB_HUB_RESET_GPIO 167 |
@@ -181,7 +179,7 @@ static struct omap_nand_platform_data cm_t35_nand_data = { | |||
181 | 179 | ||
182 | static void __init cm_t35_init_nand(void) | 180 | static void __init cm_t35_init_nand(void) |
183 | { | 181 | { |
184 | if (gpmc_nand_init(&cm_t35_nand_data) < 0) | 182 | if (gpmc_nand_init(&cm_t35_nand_data, NULL) < 0) |
185 | pr_err("CM-T35: Unable to register NAND device\n"); | 183 | pr_err("CM-T35: Unable to register NAND device\n"); |
186 | } | 184 | } |
187 | #else | 185 | #else |