summaryrefslogtreecommitdiffstats
path: root/drivers/video/ffb.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2005-11-12 12:11:12 -0800
committerDavid S. Miller <davem@davemloft.net>2005-11-12 12:11:12 -0800
commit9ffb83bcc5c5337f980dc0576bf13ac9bd4fd33d (patch)
tree51d71d16b65077943284408cd80b290f8c6596df /drivers/video/ffb.c
parent535f8d65d808421a6e1730990e39d41885b1f951 (diff)
downloadlinux-stable-9ffb83bcc5c5337f980dc0576bf13ac9bd4fd33d.tar.gz
linux-stable-9ffb83bcc5c5337f980dc0576bf13ac9bd4fd33d.tar.bz2
linux-stable-9ffb83bcc5c5337f980dc0576bf13ac9bd4fd33d.zip
[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>
Diffstat (limited to 'drivers/video/ffb.c')
-rw-r--r--drivers/video/ffb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/ffb.c b/drivers/video/ffb.c
index 04417dc16c2e..2584daec7bbf 100644
--- a/drivers/video/ffb.c
+++ b/drivers/video/ffb.c
@@ -57,6 +57,9 @@ static struct fb_ops ffb_ops = {
.fb_sync = ffb_sync,
.fb_mmap = ffb_mmap,
.fb_ioctl = ffb_ioctl,
+#ifdef CONFIG_COMPAT
+ .fb_compat_ioctl = sbusfb_compat_ioctl,
+#endif
};
/* Register layout and definitions */