+12
−9
Loading
misc device gets ->private_data pointing to struct miscdevice
on open(), so we can use that to get to per-device structure
instead of relying on file_operations being copied into it.
Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk>