Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
#include <linux/io.h>
#include <linux/serial_sci.h>
#include <linux/sh_timer.h>
#include <linux/io.h>
#include <linux/serial_sci.h>
#include <linux/sh_timer.h>
static struct sh_timer_config tmu0_platform_data = {
.name = "TMU0",
static struct sh_timer_config tmu0_platform_data = {
.name = "TMU0",
+static struct sh_dmae_pdata dma_platform_data = {
+ .mode = (SHDMA_MIX_IRQ | SHDMA_DMAOR1),
+};
+
+static struct platform_device dma_device = {
+ .name = "sh-dma-engine",
+ .id = -1,
+ .dev = {
+ .platform_data = &dma_platform_data,
+ },
+};
+
static struct platform_device *sh7780_devices[] __initdata = {
&tmu0_device,
&tmu1_device,
static struct platform_device *sh7780_devices[] __initdata = {
&tmu0_device,
&tmu1_device,
&tmu5_device,
&rtc_device,
&sci_device,
&tmu5_device,
&rtc_device,
&sci_device,
};
static int __init sh7780_devices_setup(void)
};
static int __init sh7780_devices_setup(void)