Selon Phil Blundell <pb_at_nexus.co.uk>:
> 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().
I have made some other test. It seems that shamcop_adc_probe() is not called by
soc_device_register(sdev) in shamcop_probe since a printk instruction is executed
after the soc_device_register(sdev) but before shamcop_adc_probe(). Do I make a
mistake ?
Thanks,
Alain
Received on Wed Mar 03 2004 - 17:53:10 EST
This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:19:25 EDT