--- ./drivers/char/tty_io.c.orig 2012-02-01 15:30:10.000000000 +0100 +++ ./drivers/char/tty_io.c.orig 2012-02-01 15:32:03.000000000 +0100 @@ -146,7 +146,7 @@ static int tty_release(struct inode *, struct file *); long tty_ioctl(struct file *file, unsigned int cmd, unsigned long arg); #ifdef CONFIG_COMPAT -static long tty_compat_ioctl(struct file *file, unsigned int cmd, +long tty_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg); #else #define tty_compat_ioctl NULL