summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-08-26 20:32:29 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-08-26 20:32:29 -0700
commitb04f69c9020dd07efce81eac79b2ed4f6b9d8bb5 (patch)
treea4f55ea55511c67847e64e087b6b70336e98e445 /fs
parent94ebcd446a9e9d20a0cb15f9c5f35df0736b084c (diff)
[PATCH] [un]register_ioctl32_conversion() stubs
The megaraid driver is calling these, but they don't exist if !CONFIG_COMPAT. Add the necessary stubs, and clean a few things up. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/compat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/compat.c b/fs/compat.c
index 7f471d7aa9c7..919a95f37c91 100644
--- a/fs/compat.c
+++ b/fs/compat.c
@@ -291,8 +291,8 @@ static int __init init_sys32_ioctl(void)
__initcall(init_sys32_ioctl);
-int register_ioctl32_conversion(unsigned int cmd, int (*handler)(unsigned int,
- unsigned int, unsigned long, struct file *))
+int register_ioctl32_conversion(unsigned int cmd,
+ ioctl_trans_handler_t handler)
{
struct ioctl_trans *t;
struct ioctl_trans *new_t;