]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commitdiff
cegw: Support 32bit user-space under 64bit kernel
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 4 Apr 2014 17:25:18 +0000 (19:25 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 4 Apr 2014 17:25:18 +0000 (19:25 +0200)
net/can/canethgw.c

index 6c9c8aae64c7aa1b6c2ab6c1af42cbed85149cf1..283d75846a80ad27b9d8323e75ff19c295d6f208 100644 (file)
@@ -366,7 +366,8 @@ static const struct file_operations cegw_fops = {
        .owner = THIS_MODULE,
        .open = cegw_open,
        .release = cegw_release,
-       .unlocked_ioctl = cegw_ioctl
+       .unlocked_ioctl = cegw_ioctl,
+       .compat_ioctl = cegw_ioctl,
 };
 
 static struct miscdevice cegw_device = {