]> err.no Git - linux-2.6/commitdiff
[SPARC]: Missing compat_ioctl hookup in openprom driver.
authorDavid S. Miller <davem@sunset.davemloft.net>
Tue, 8 Nov 2005 18:00:13 +0000 (10:00 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 8 Nov 2005 18:00:13 +0000 (10:00 -0800)
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/sbus/char/openprom.c

index 5028ac2143262d44418d758682c31c766f6bd21f..383a95f34a0da4e8adec682df992786d572efe27 100644 (file)
@@ -596,6 +596,8 @@ static long openprom_compat_ioctl(struct file *file, unsigned int cmd,
                lock_kernel();
                break;
        }
+
+       return rval;
 }
 
 static int openprom_open(struct inode * inode, struct file * file)
@@ -623,6 +625,7 @@ static struct file_operations openprom_fops = {
        .owner =        THIS_MODULE,
        .llseek =       no_llseek,
        .ioctl =        openprom_ioctl,
+       .compat_ioctl = openprom_compat_ioctl,
        .open =         openprom_open,
        .release =      openprom_release,
 };