瀏覽代碼

arm/mach-mx3: add watchdog device to Phytec-boards

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Wolfram Sang 15 年之前
父節點
當前提交
3170ba546f
共有 2 個文件被更改,包括 2 次插入0 次删除
  1. 1 0
      arch/arm/mach-mx3/mach-pcm037.c
  2. 1 0
      arch/arm/mach-mx3/mach-pcm043.c

+ 1 - 0
arch/arm/mach-mx3/mach-pcm037.c

@@ -449,6 +449,7 @@ static int __init pcm037_camera_alloc_dma(const size_t buf_size)
 static struct platform_device *devices[] __initdata = {
 	&pcm037_flash,
 	&pcm037_sram_device,
+	&imx_wdt_device0,
 	&pcm037_mt9t031,
 	&pcm037_mt9v022,
 };

+ 1 - 0
arch/arm/mach-mx3/mach-pcm043.c

@@ -150,6 +150,7 @@ static struct i2c_board_info pcm043_i2c_devices[] = {
 static struct platform_device *devices[] __initdata = {
 	&pcm043_flash,
 	&mxc_fec_device,
+	&imx_wdt_device0,
 };
 
 static struct pad_desc pcm043_pads[] = {