diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2005-11-08 21:00:13 +0300 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-11-08 21:00:13 +0300 |
commit | d5a858bc148fe97996af9cf685cc124b70519adf (patch) | |
tree | e483f56aa7d38d07260247b4dec7496cdf0d7917 /drivers/sbus | |
parent | f093182d313edde9b1f86dbdaf40ba4da2dbd0e7 (diff) | |
download | linux-d5a858bc148fe97996af9cf685cc124b70519adf.tar.xz |
[SPARC]: Missing compat_ioctl hookup in openprom driver.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/sbus')
-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, 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, }; |