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

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Nov 8 08:19:10 EST 2011


Le Mon,  7 Nov 2011 17:08:31 +0100,
Maxime Ripard <maxime.ripard at 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.
http://free-electrons.com



More information about the linux-arm-kernel mailing list