Ramax Lo wrote: > 2009/5/21 Ben Dooks <ben at simtec.co.uk> >> Add support for the ADC controller on the S3C >> series of processors to drivers/hwmon for use with >> hardware monitoring systems. >> >> Signed-off-by: Ben Dooks <ben at simtec.co.uk> >> >> Index: linux.git/drivers/hwmon/Kconfig >> =================================================================== [snip] >> +/** >> + * s3c_hwmon_adcdone - ADC core callback >> + * @value: The value that we got from the ADC core >> + * @ignore: Only used for the touchscreen client. >> + * @left: The number of conversions left (not used here). >> + * >> + * This is called when the ADC has finished its conversion to >> + * inform us of the result. >> + */ >> +static void s3c_hwmon_adcdone(unsigned value, unsigned ignore, unsigned *left) >> +{ >> + struct s3c_hwmon *adc = done_adc; >> + >> + hwmon->val = value; >> + wake_up(&hwmon->wait); > > The variable should be 'adc'? Yes, you're right. It seems I failed to refresh the patch before sending it from the quilt it was in. Will check and repost. -- Ben Dooks, Software Engineer, Simtec Electronics http://www.simtec.co.uk/