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)
commit996142e61d11fc1c1bea2834a36116c9a0fae029
tree7806924963bc23fb09b11a2cfa8c048912ffbed7
parent7294b0bb694c4376cad819bb97f2796626f50551
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