diff options
-rw-r--r-- | drivers/sbus/char/openprom.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/sbus/char/openprom.c b/drivers/sbus/char/openprom.c index 5028ac214326..383a95f34a0d 100644 --- a/drivers/sbus/char/openprom.c +++ b/drivers/sbus/char/openprom.c | |||
@@ -596,6 +596,8 @@ static long openprom_compat_ioctl(struct file *file, unsigned int cmd, | |||
596 | lock_kernel(); | 596 | lock_kernel(); |
597 | break; | 597 | break; |
598 | } | 598 | } |
599 | |||
600 | return rval; | ||
599 | } | 601 | } |
600 | 602 | ||
601 | static int openprom_open(struct inode * inode, struct file * file) | 603 | static int openprom_open(struct inode * inode, struct file * file) |
@@ -623,6 +625,7 @@ static struct file_operations openprom_fops = { | |||
623 | .owner = THIS_MODULE, | 625 | .owner = THIS_MODULE, |
624 | .llseek = no_llseek, | 626 | .llseek = no_llseek, |
625 | .ioctl = openprom_ioctl, | 627 | .ioctl = openprom_ioctl, |
628 | .compat_ioctl = openprom_compat_ioctl, | ||
626 | .open = openprom_open, | 629 | .open = openprom_open, |
627 | .release = openprom_release, | 630 | .release = openprom_release, |
628 | }; | 631 | }; |