summaryrefslogtreecommitdiffstats
path: root/driver/ioctl.h
diff options
context:
space:
mode:
authorroot <root@ipepdvpc4>2011-07-19 19:13:12 +0200
committerroot <root@ipepdvpc4>2011-07-19 19:13:12 +0200
commit9756b55de5749b495481be4b30b87d6162b14f62 (patch)
treeafa3288de7988e68f0e5f0b231865b4cae11cb91 /driver/ioctl.h
parent97f2773f8c98a158cecb0647a841eb679be2ad9d (diff)
downloadipecamera-9756b55de5749b495481be4b30b87d6162b14f62.tar.gz
ipecamera-9756b55de5749b495481be4b30b87d6162b14f62.tar.bz2
ipecamera-9756b55de5749b495481be4b30b87d6162b14f62.tar.xz
ipecamera-9756b55de5749b495481be4b30b87d6162b14f62.zip
Fix few compilation issues with recent kernels
Diffstat (limited to 'driver/ioctl.h')
-rw-r--r--driver/ioctl.h4
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