]> git.baikalelectronics.ru Git - kernel.git/commit
pxa3xx-gcu: quite playing silly buggers with ->f_op
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 6 Apr 2013 00:39:36 +0000 (20:39 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 9 Apr 2013 18:16:40 +0000 (14:16 -0400)
commitde956a32f0209aa9e8aaee4fe3628202928c4c9c
tree7806924963bc23fb09b11a2cfa8c048912ffbed7
parentf17219151450141a7ad7bae8c87b11c632752e32
pxa3xx-gcu: quite playing silly buggers with ->f_op

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>
drivers/video/pxa3xx-gcu.c