[PATCH 1/3] ARM: AT91: Add platform data for the ADCs

Thomas Petazzoni
2011-11-08T13:19:10Z

Le Mon, 7 Nov 2011 17:08:31 +0100,
Maxime Ripard <maxime.ripard@free-electrons.com> a ?crit :

> +/* ADC */
> +struct at91_adc_data {
> + /* ADC Clock as specified by the datasheet, in Hz. */
> + unsigned int adc_clock;
> + /*
> + * Global number of channels available (to specify which channels are
> + * indeed used on the board, see the channels_used array).

channels_used is no longer an array, but a bitmap.

Regards,

Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.