Re: shamcop adc

From: Phil Blundell <pb_at_nexus.co.uk>
Date: Wed, 3 Mar 2004 14:31:19 +0000

on Wed, Mar 03, 2004 at 03:24:58PM +0100, Alain2210 wrote:
> I'm trying to understand that. So, could you help me : when
> shamcop_adc_probe (struct device *dev)
> is called where is defined the value of dev ? I have not understood a basic thing.

That probe function is called by the soc-device code in response to the
soc_device_register(sdev) in shamcop_probe. The dev argument that
shamcop_adc_probe() sees will be &sdev->device from shamcop_probe().

p.
Received on Wed Mar 03 2004 - 14:31:20 EST

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:19:25 EDT