diff options
author | Wang Xiaojun <b41435@freescale.com> | 2012-12-10 18:35:41 +0800 |
---|---|---|
committer | Ed Nash <enash@enash-desktop.(none)> | 2012-12-12 14:46:32 -0500 |
commit | 3664f4e8ca3d18e87bc695f4b6838be61382dc17 (patch) | |
tree | dd41defc3c8896c789b0b3ceeb625311cdb49899 /arch/arm/plat-mxc/include/mach/devices-common.h | |
parent | 74e4dd3713a06947ac42aed73c822d7641735239 (diff) |
ENGR00181365-1: ADC: Add platform support for ADC driver
Add platform support for ADC driver.
Signed-off-by: Wang Xiaojun <b41435@freescale.com>
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/devices-common.h')
-rwxr-xr-x | arch/arm/plat-mxc/include/mach/devices-common.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/devices-common.h b/arch/arm/plat-mxc/include/mach/devices-common.h index a8a8034c1010..3cdcceaea09f 100755 --- a/arch/arm/plat-mxc/include/mach/devices-common.h +++ b/arch/arm/plat-mxc/include/mach/devices-common.h @@ -89,6 +89,15 @@ struct imx_imx2_wdt_data { struct platform_device *__init imx_add_imx2_wdt( const struct imx_imx2_wdt_data *data); +struct mvf_adc_data { + int id; + resource_size_t iobase; + resource_size_t iosize; + resource_size_t irq; +}; +struct platform_device *__init mvf_add_adcdev( + const struct mvf_adc_data *data); + struct imx_imxdi_rtc_data { resource_size_t iobase; resource_size_t irq; |