newbie question for airo_cs.c

Randy Dunlap rdunlap at xenotime.net
Fri Nov 19 17:26:02 UTC 2010


On Fri, 19 Nov 2010 16:36:42 +0530 Bond wrote:

> Hi,
> I am new to this list and I recently got into some stuff which I
> thought I should post.
> I was going through the code drivers/net/wireless/airo_cs.c
> 
> and came across
> http://lxr.ncu.cc/source/drivers/net/wireless/airo_cs.c#209
> 
> static int airo_config(struct pcmcia_device *link)
> {
>         local_info_t *dev;
>         int ret;
> 
>         dev = link->priv;
> Line number 219 where above dev = link->priv is declared I am not
> clear as to where is it pointing to?
> Is it referring to private data area of the device?

see  http://lxr.ncu.cc/source/drivers/net/wireless/airo_cs.c#164

> 
> -- 


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***



More information about the devel mailing list