Question: how to retrieve drvdata from open() ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When registering a device node with device_create(), it is possible to pass a drvdata pointer.

How can I retrieve that drvdata pointer from the open() fops ? I've not been able to find any exemple.

Thanks
Christophe



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux