diff options
Diffstat (limited to 'driver/ioctl.h')
-rw-r--r-- | driver/ioctl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/driver/ioctl.h b/driver/ioctl.h index a0e9300..696fb8b 100644 --- a/driver/ioctl.h +++ b/driver/ioctl.h @@ -1 +1,5 @@ +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,11) int pcidriver_ioctl(struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg); +#else +long pcidriver_ioctl(struct file *filp, unsigned int cmd, unsigned long arg); +#endif |