From 9756b55de5749b495481be4b30b87d6162b14f62 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 19 Jul 2011 19:13:12 +0200 Subject: Fix few compilation issues with recent kernels --- driver/ioctl.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'driver/ioctl.h') 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 -- cgit v1.2.3