diff options
-rw-r--r-- | arch/sh/boards/mach-kfr2r09/setup.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/sh/boards/mach-kfr2r09/setup.c b/arch/sh/boards/mach-kfr2r09/setup.c index b2cd0ed8664e..95850aa1ee3c 100644 --- a/arch/sh/boards/mach-kfr2r09/setup.c +++ b/arch/sh/boards/mach-kfr2r09/setup.c | |||
@@ -10,6 +10,7 @@ | |||
10 | #include <linux/init.h> | 10 | #include <linux/init.h> |
11 | #include <linux/platform_device.h> | 11 | #include <linux/platform_device.h> |
12 | #include <linux/interrupt.h> | 12 | #include <linux/interrupt.h> |
13 | #include <linux/mfd/sh_mobile_sdhi.h> | ||
13 | #include <linux/mtd/physmap.h> | 14 | #include <linux/mtd/physmap.h> |
14 | #include <linux/mtd/onenand.h> | 15 | #include <linux/mtd/onenand.h> |
15 | #include <linux/delay.h> | 16 | #include <linux/delay.h> |
@@ -356,10 +357,18 @@ static struct resource kfr2r09_sh_sdhi0_resources[] = { | |||
356 | }, | 357 | }, |
357 | }; | 358 | }; |
358 | 359 | ||
360 | static struct sh_mobile_sdhi_info sh7724_sdhi0_data = { | ||
361 | .dma_slave_tx = SHDMA_SLAVE_SDHI0_TX, | ||
362 | .dma_slave_rx = SHDMA_SLAVE_SDHI0_RX, | ||
363 | }; | ||
364 | |||
359 | static struct platform_device kfr2r09_sh_sdhi0_device = { | 365 | static struct platform_device kfr2r09_sh_sdhi0_device = { |
360 | .name = "sh_mobile_sdhi", | 366 | .name = "sh_mobile_sdhi", |
361 | .num_resources = ARRAY_SIZE(kfr2r09_sh_sdhi0_resources), | 367 | .num_resources = ARRAY_SIZE(kfr2r09_sh_sdhi0_resources), |
362 | .resource = kfr2r09_sh_sdhi0_resources, | 368 | .resource = kfr2r09_sh_sdhi0_resources, |
369 | .dev = { | ||
370 | .platform_data = &sh7724_sdhi0_data, | ||
371 | }, | ||
363 | .archdata = { | 372 | .archdata = { |
364 | .hwblk_id = HWBLK_SDHI0, | 373 | .hwblk_id = HWBLK_SDHI0, |
365 | }, | 374 | }, |