diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2013-10-02 18:38:38 +0200 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2013-10-02 18:38:38 +0200 |
commit | 21b01a4d6e5ef433116fe457a18fd561b7de0a3e (patch) | |
tree | 7652753b02d11afdfef49db3edc8a3c1ddc99751 /include | |
parent | 821308d4f18d849f2666c66acd9e7c09dc7d4b19 (diff) |
colibri-vf50-ts/mvf-adc: Moved touchscreen support in a module
The touchscreen support backed by hardware on the Colibri VF50
module and the Vybrid ADC is now moved to a own module for better
maintainability. The mvf-adc driver exports some of its method
now. A good good locking mechanism is still missing.
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mvf_adc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/mvf_adc.h b/include/linux/mvf_adc.h index 26562531afe0..f4288e623514 100644 --- a/include/linux/mvf_adc.h +++ b/include/linux/mvf_adc.h @@ -201,4 +201,12 @@ struct adc_feature { unsigned int result0, result1; }; +#ifdef __KERNEL__ +extern int mvf_adc_initiate(unsigned int adc); + +extern int mvf_adc_set(unsigned int adc, struct adc_feature *adc_fea); + +extern int mvf_adc_register_and_convert(unsigned int adc, unsigned char channel); +#endif + #endif |