diff options
author | Dong Aisheng <b29396@freescale.com> | 2011-07-20 11:41:42 +0800 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-08-23 08:56:13 +0200 |
commit | c8ebcac823bb0246c42168c277069356432efd34 (patch) | |
tree | 398581f4d38b1fef34a5cfce7f6e9418428471ce /arch/arm/mach-mxs/include | |
parent | cf66ea8e14b753f1c4d38322d3e52f8838528091 (diff) | |
download | op-kernel-dev-c8ebcac823bb0246c42168c277069356432efd34.zip op-kernel-dev-c8ebcac823bb0246c42168c277069356432efd34.tar.gz |
ARM: mxs: add saif device
Signed-off-by: Dong Aisheng <b29396@freescale.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mxs/include')
-rw-r--r-- | arch/arm/mach-mxs/include/mach/devices-common.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/include/mach/devices-common.h b/arch/arm/mach-mxs/include/mach/devices-common.h index 812d7a8..a8080f4 100644 --- a/arch/arm/mach-mxs/include/mach/devices-common.h +++ b/arch/arm/mach-mxs/include/mach/devices-common.h @@ -92,3 +92,15 @@ struct platform_device *__init mxs_add_mxs_mmc( /* pwm */ struct platform_device *__init mxs_add_mxs_pwm( resource_size_t iobase, int id); + +/* saif */ +struct mxs_saif_data { + int id; + resource_size_t iobase; + resource_size_t irq; + resource_size_t dma; + resource_size_t dmairq; +}; + +struct platform_device *__init mxs_add_saif( + const struct mxs_saif_data *data); |