i2c-eg20t: change timeout value 50msec to 1000msec
[zen-stable.git] / drivers / staging / comedi / comedi_compat32.h
blob0340a8949c6bad183269d8bb83e0160b9acce133
1 /*
2 comedi/comedi_compat32.h
3 32-bit ioctl compatibility for 64-bit comedi kernel module.
5 Author: Ian Abbott, MEV Ltd. <abbotti@mev.co.uk>
6 Copyright (C) 2007 MEV Ltd. <http://www.mev.co.uk/>
8 COMEDI - Linux Control and Measurement Device Interface
9 Copyright (C) 1997-2007 David A. Schleef <ds@schleef.org>
11 This program is free software; you can redistribute it and/or modify
12 it under the terms of the GNU General Public License as published by
13 the Free Software Foundation; either version 2 of the License, or
14 (at your option) any later version.
16 This program is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 GNU General Public License for more details.
21 You should have received a copy of the GNU General Public License
22 along with this program; if not, write to the Free Software
23 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
27 #ifndef _COMEDI_COMPAT32_H
28 #define _COMEDI_COMPAT32_H
30 #include <linux/compat.h>
31 #include <linux/fs.h>
33 #ifdef CONFIG_COMPAT
35 extern long comedi_compat_ioctl(struct file *file, unsigned int cmd,
36 unsigned long arg);
38 #else /* CONFIG_COMPAT */
40 #define comedi_compat_ioctl 0 /* NULL */
42 #endif /* CONFIG_COMPAT */
44 #endif /* _COMEDI_COMPAT32_H */