aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx25/mach-mx25_3ds.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mx25/mach-mx25_3ds.c')
-rw-r--r--arch/arm/mach-mx25/mach-mx25_3ds.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/arm/mach-mx25/mach-mx25_3ds.c b/arch/arm/mach-mx25/mach-mx25_3ds.c
index 26ba246c57ee..e1e98864c8e7 100644
--- a/arch/arm/mach-mx25/mach-mx25_3ds.c
+++ b/arch/arm/mach-mx25/mach-mx25_3ds.c
@@ -40,11 +40,12 @@
40#include <mach/common.h> 40#include <mach/common.h>
41#include <mach/imx-uart.h> 41#include <mach/imx-uart.h>
42#include <mach/mx25.h> 42#include <mach/mx25.h>
43#include <mach/mxc_nand.h>
44#include <mach/imxfb.h> 43#include <mach/imxfb.h>
45#include "devices.h"
46#include <mach/iomux-mx25.h> 44#include <mach/iomux-mx25.h>
47 45
46#include "devices-imx25.h"
47#include "devices.h"
48
48static struct imxuart_platform_data uart_pdata = { 49static struct imxuart_platform_data uart_pdata = {
49 .flags = IMXUART_HAVE_RTSCTS, 50 .flags = IMXUART_HAVE_RTSCTS,
50}; 51};
@@ -109,7 +110,8 @@ static void __init mx25pdk_fec_reset(void)
109 gpio_set_value(FEC_RESET_B_GPIO, 1); 110 gpio_set_value(FEC_RESET_B_GPIO, 1);
110} 111}
111 112
112static struct mxc_nand_platform_data mx25pdk_nand_board_info = { 113static const struct mxc_nand_platform_data
114mx25pdk_nand_board_info __initconst = {
113 .width = 1, 115 .width = 1,
114 .hw_ecc = 1, 116 .hw_ecc = 1,
115 .flash_bbt = 1, 117 .flash_bbt = 1,
@@ -150,7 +152,7 @@ static void __init mx25pdk_init(void)
150 152
151 mxc_register_device(&mxc_uart_device0, &uart_pdata); 153 mxc_register_device(&mxc_uart_device0, &uart_pdata);
152 mxc_register_device(&mxc_usbh2, NULL); 154 mxc_register_device(&mxc_usbh2, NULL);
153 mxc_register_device(&mxc_nand_device, &mx25pdk_nand_board_info); 155 imx25_add_mxc_nand(&mx25pdk_nand_board_info);
154 mxc_register_device(&mx25_rtc_device, NULL); 156 mxc_register_device(&mx25_rtc_device, NULL);
155 mxc_register_device(&mx25_fb_device, &mx25pdk_fb_pdata); 157 mxc_register_device(&mx25_fb_device, &mx25pdk_fb_pdata);
156 158