aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/leo.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/leo.c
parent[SPARC]: Fix RTC compat ioctl kernel log spam. (diff)
downloadlinux-dev-9ffb83bcc5c5337f980dc0576bf13ac9bd4fd33d.tar.xz
linux-dev-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/leo.c')
-rw-r--r--drivers/video/leo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/leo.c b/drivers/video/leo.c
index 84a7fe435bb8..376d4a171ec7 100644
--- a/drivers/video/leo.c
+++ b/drivers/video/leo.c
@@ -51,6 +51,9 @@ static struct fb_ops leo_ops = {
.fb_imageblit = cfb_imageblit,
.fb_mmap = leo_mmap,
.fb_ioctl = leo_ioctl,
+#ifdef CONFIG_COMPAT
+ .fb_compat_ioctl = sbusfb_compat_ioctl,
+#endif
};
#define LEO_OFF_LC_SS0_KRN 0x00200000UL