diff options
-rw-r--r-- | arch/sh/boards/mach-migor/setup.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/sh/boards/mach-migor/setup.c b/arch/sh/boards/mach-migor/setup.c index 7da0fc94a01e..87185de20446 100644 --- a/arch/sh/boards/mach-migor/setup.c +++ b/arch/sh/boards/mach-migor/setup.c | |||
@@ -12,6 +12,7 @@ | |||
12 | #include <linux/interrupt.h> | 12 | #include <linux/interrupt.h> |
13 | #include <linux/input.h> | 13 | #include <linux/input.h> |
14 | #include <linux/input/sh_keysc.h> | 14 | #include <linux/input/sh_keysc.h> |
15 | #include <linux/mfd/sh_mobile_sdhi.h> | ||
15 | #include <linux/mtd/physmap.h> | 16 | #include <linux/mtd/physmap.h> |
16 | #include <linux/mtd/nand.h> | 17 | #include <linux/mtd/nand.h> |
17 | #include <linux/i2c.h> | 18 | #include <linux/i2c.h> |
@@ -402,10 +403,18 @@ static struct resource sdhi_cn9_resources[] = { | |||
402 | }, | 403 | }, |
403 | }; | 404 | }; |
404 | 405 | ||
406 | static struct sh_mobile_sdhi_info sh7724_sdhi_data = { | ||
407 | .dma_slave_tx = SHDMA_SLAVE_SDHI0_TX, | ||
408 | .dma_slave_rx = SHDMA_SLAVE_SDHI0_RX, | ||
409 | }; | ||
410 | |||
405 | static struct platform_device sdhi_cn9_device = { | 411 | static struct platform_device sdhi_cn9_device = { |
406 | .name = "sh_mobile_sdhi", | 412 | .name = "sh_mobile_sdhi", |
407 | .num_resources = ARRAY_SIZE(sdhi_cn9_resources), | 413 | .num_resources = ARRAY_SIZE(sdhi_cn9_resources), |
408 | .resource = sdhi_cn9_resources, | 414 | .resource = sdhi_cn9_resources, |
415 | .dev = { | ||
416 | .platform_data = &sh7724_sdhi_data, | ||
417 | }, | ||
409 | .archdata = { | 418 | .archdata = { |
410 | .hwblk_id = HWBLK_SDHI, | 419 | .hwblk_id = HWBLK_SDHI, |
411 | }, | 420 | }, |