file->private_data

John Tyner jtyner at cs.ucr.edu
Wed Jul 24 03:13:56 EST 2002


That pointer is all yours. Your driver can store data that is specifiec to
each open device using that pointer.

On Tue, 23 Jul 2002, Khai Trinh wrote:

>
> Hi folks,
>
> I am new to linux. So, my question is:
>
> what is file->private_data? Does it set to the device
> structure by the kernel when you register your device
> with devfs_register()?
>
> Thanks,
> --Khai
>
> Yahoo! Health - Feel better, live better
> http://health.yahoo.com
>
>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list