]> 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)
commit46bbb904762538d95c027167fd4f56712954d67f
tree7806924963bc23fb09b11a2cfa8c048912ffbed7
parentf1bdc8bb1caa6dad765493e3fa14770441821635
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