[SBUSFB]: implement ->compat_ioctl
This patch adds a new function, sbusfb_compat_ioctl() to drivers/video/sbuslib.c and uses it as compat_ioctl in all sbus fb drivers This remove the last per-arch compat ioctl bits in arch/sparc64/kernel/ioctl32.c so it would be nice if people could test if this actually copiles and works and if yes apply it :) Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
535f8d65d8
commit
9ffb83bcc5
@@ -49,6 +49,9 @@ static struct fb_ops cg14_ops = {
|
||||
.fb_imageblit = cfb_imageblit,
|
||||
.fb_mmap = cg14_mmap,
|
||||
.fb_ioctl = cg14_ioctl,
|
||||
#ifdef CONFIG_COMPAT
|
||||
.fb_compat_ioctl = sbusfb_compat_ioctl,
|
||||
#endif
|
||||
};
|
||||
|
||||
#define CG14_MCR_INTENABLE_SHIFT 7
|
||||
|
Reference in New Issue
Block a user