]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/include/ioctl.h
Adjust LinCAN sources to compile for 3.x Linux kernel.
[lincan.git] / lincan / include / ioctl.h
index 4318758fedb75c96bc52dcd46ca001a96d3e6519..90f3e7d847b4bad0d76af6e76ed28fbef0640111 100644 (file)
@@ -32,7 +32,7 @@
 /* Publication of enhanced or derived LinCAN files is required although.  */
 /**************************************************************************/
 
-int can_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg);
+long can_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
 int can_ioctl_query(struct canuser_t *canuser, unsigned long what);
 int can_ioctl_remote_read(struct canuser_t *canuser, struct canmsg_t *rtr_msg,
                           unsigned long rtr_id, int options);