From 2043d54e1bee3a3071e490e1c0b34ad03507acb6 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Tue, 7 Nov 2000 21:39:10 +0000 Subject: [PATCH] change comedi_module.h to linux/comedidev.h --- comedi/comedi_fops.c | 2 +- comedi/comedi_ksyms.c | 2 +- comedi/comedi_module.h | 292 ---------------------------- comedi/drivers.c | 4 +- comedi/drivers/8255.c | 2 +- comedi/drivers/8255.h | 2 +- comedi/drivers/adl_pci9118.c | 2 +- comedi/drivers/comedi_parport.c | 2 +- comedi/drivers/daqboard2000.c | 2 +- comedi/drivers/das08-new.c | 2 +- comedi/drivers/das08.c | 2 +- comedi/drivers/das08jr.c | 2 +- comedi/drivers/das16-new.c | 2 +- comedi/drivers/das16.c | 2 +- comedi/drivers/das1600.c | 2 +- comedi/drivers/das6402.c | 2 +- comedi/drivers/dt2801.c | 2 +- comedi/drivers/dt2811.c | 2 +- comedi/drivers/dt2814.c | 2 +- comedi/drivers/dt2815.c | 2 +- comedi/drivers/dt2817.c | 2 +- comedi/drivers/dt282x.c | 2 +- comedi/drivers/dt3000.c | 2 +- comedi/drivers/ii_pci20kc.c | 2 +- comedi/drivers/mite.c | 2 +- comedi/drivers/mite.h | 2 +- comedi/drivers/multiq3.c | 2 +- comedi/drivers/ni_atmio.c | 2 +- comedi/drivers/ni_atmio16d.c | 2 +- comedi/drivers/ni_mio_cs.c | 2 +- comedi/drivers/ni_pcidio.c | 2 +- comedi/drivers/ni_pcimio.c | 2 +- comedi/drivers/pcl711.c | 2 +- comedi/drivers/pcl724.c | 2 +- comedi/drivers/pcl725.c | 2 +- comedi/drivers/pcl726.c | 2 +- comedi/drivers/pcl812.c | 2 +- comedi/drivers/pcl818.c | 2 +- comedi/drivers/quatech_daqp_cs.c | 2 +- comedi/drivers/rti800.c | 2 +- comedi/drivers/rti802.c | 2 +- comedi/drivers/skel.c | 2 +- comedi/dummy.c | 2 +- comedi/kcomedilib/data.c | 2 +- comedi/kcomedilib/dio.c | 2 +- comedi/kcomedilib/kcomedilib_main.c | 2 +- comedi/proc.c | 2 +- comedi/range.c | 2 +- comedi/realtime/vd_dds.c | 2 +- comedi/realtime/vd_timer.c | 2 +- comedi/rt.c | 2 +- comedi/rtai.c | 2 +- comedi/rtl.c | 2 +- comedi/rtl_v1.c | 2 +- 54 files changed, 54 insertions(+), 346 deletions(-) delete mode 100644 comedi/comedi_module.h diff --git a/comedi/comedi_fops.c b/comedi/comedi_fops.c index f633a924..1a8ade6e 100644 --- a/comedi/comedi_fops.c +++ b/comedi/comedi_fops.c @@ -23,7 +23,7 @@ #undef DEBUG -#include +#include #define __NO_VERSION__ #include diff --git a/comedi/comedi_ksyms.c b/comedi/comedi_ksyms.c index e489d5b8..d08548d8 100644 --- a/comedi/comedi_ksyms.c +++ b/comedi/comedi_ksyms.c @@ -22,7 +22,7 @@ */ -#include +#include #include #include diff --git a/comedi/comedi_module.h b/comedi/comedi_module.h deleted file mode 100644 index d5f6fdf1..00000000 --- a/comedi/comedi_module.h +++ /dev/null @@ -1,292 +0,0 @@ -/* - module/comedi_module.h - header file for kernel-only structures, variables, and constants - - COMEDI - Linux Control and Measurement Device Interface - Copyright (C) 1997-2000 David A. Schleef - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - -*/ - -#ifndef _COMEDI_MODULE_H -#define _COMEDI_MODULE_H - -#include -#include -#include -#include -#include -#include -#include -#include - - -#include "kern_compat.h" - -#ifdef CONFIG_COMEDI_RT -#include -#endif - -#ifdef CONFIG_COMEDI_DEBUG -#define DPRINTK(format, args...) printk("comedi: " format , ## args ) -#else -#define DPRINTK(format, args...) /* */ -#endif - -#ifndef COMEDI_VERSION_CODE -#define COMEDI_VERSION_CODE 0x10000 -#define COMEDI_VERSION "1.0.0" -#endif - -#ifdef MODULE -#define COMEDI_INITCLEANUP(x) \ - int init_module(void){comedi_driver_register(&(x));return 0;} \ - void cleanup_module(void){comedi_driver_unregister(&(x));} -#else -#define COMEDI_INITCLEANUP(x) -#endif -typedef struct comedi_device_struct comedi_device; -typedef struct comedi_subdevice_struct comedi_subdevice; -typedef struct comedi_driver_struct comedi_driver; -typedef struct comedi_lrange_struct comedi_lrange; - - -struct comedi_subdevice_struct{ - int type; - int n_chan; - int subdev_flags; - int len_chanlist; /* length of channel/gain list, if available */ - - void *private; - - void *prealloc_buf; /* pre-allocated buffer */ - unsigned int prealloc_bufsz; /* buffer size, in bytes */ - - void *lock; - void *busy; - unsigned int runflags; - - int io_bits; - - lsampl_t maxdata; /* if maxdata==0, use list */ - lsampl_t *maxdata_list; /* list is channel specific */ - - unsigned int flags; - unsigned int *flaglist; - - comedi_lrange *range_table; - comedi_lrange **range_table_list; - - unsigned int *chanlist; /* driver-owned chanlist (not used) */ - -#ifdef CONFIG_COMEDI_MODE_CORE - comedi_trig cur_trig; /* current trig structure */ -#endif - comedi_cmd cmd; - - volatile unsigned int buf_int_ptr; /* buffer marker for interrupt */ - unsigned int buf_user_ptr; /* buffer marker for read() and write() */ - volatile unsigned int buf_int_count; /* byte count for interrupt */ - unsigned int buf_user_count; /* byte count for read() and write() */ - unsigned int cur_chan; /* useless channel marker for interrupt */ - unsigned int cur_chanlist_len; - -#ifdef CONFIG_COMEDI_MODE_CORE - int (*trig[5])(comedi_device *,comedi_subdevice *,comedi_trig *); -#endif - - int (*insn_read)(comedi_device *,comedi_subdevice *,comedi_insn *,lsampl_t *); - int (*insn_write)(comedi_device *,comedi_subdevice *,comedi_insn *,lsampl_t *); - int (*insn_bits)(comedi_device *,comedi_subdevice *,comedi_insn *,lsampl_t *); - int (*insn_config)(comedi_device *,comedi_subdevice *,comedi_insn *,lsampl_t *); - - int (*do_cmd)(comedi_device *,comedi_subdevice *); - int (*do_cmdtest)(comedi_device *,comedi_subdevice *,comedi_cmd *); - int (*poll)(comedi_device *,comedi_subdevice *); - int (*cancel)(comedi_device *,comedi_subdevice *); - int (*do_lock)(comedi_device *,comedi_subdevice *); - int (*do_unlock)(comedi_device *,comedi_subdevice *); - - unsigned int cb_mask; - int (*cb_func)(unsigned int flags,void *); - void *cb_arg; - - unsigned int state; -}; - -struct comedi_driver_struct{ - struct comedi_driver_struct *next; - - char *driver_name; - struct module *module; - int (*attach)(comedi_device *,comedi_devconfig *); - int (*detach)(comedi_device *); - int (*recognize)(char *name); -}; - -struct comedi_device_struct{ - int use_count; - comedi_driver *driver; - void *private; - kdev_t minor; - char *board_name; - int board; - void *board_ptr; - int attached; - - int n_subdevices; - comedi_subdevice *subdevices; - int options[COMEDI_NDEVCONFOPTS]; - - /* dumb */ - int iobase; - int iosize; - int irq; - - unsigned int read_subdev; - wait_queue_head_t read_wait; - - unsigned int write_subdev; - wait_queue_head_t write_wait; -}; - - - -extern comedi_device *comedi_devices; - -/* - * function prototypes - */ - -void comedi_error(comedi_device *dev,const char *s); -void comedi_done(comedi_device *dev,comedi_subdevice *s); -void comedi_error_done(comedi_device *dev,comedi_subdevice *s); -void comedi_eos(comedi_device *dev,comedi_subdevice *s); -void comedi_eobuf(comedi_device *dev,comedi_subdevice *s); -void comedi_bufcheck(comedi_device *dev,comedi_subdevice *s); - -comedi_device * comedi_get_device_by_minor(kdev_t minor); - -extern inline comedi_device * comedi_get_device_by_minor(kdev_t minor) -{ - return comedi_devices+minor; -} - -int comedi_device_detach(comedi_device *dev); -int comedi_device_attach(comedi_device *dev,comedi_devconfig *it); -int comedi_driver_register(comedi_driver *); -int comedi_driver_unregister(comedi_driver *); - -comedi_device *comedi_allocate_dev(comedi_driver *); -void comedi_deallocate_dev(comedi_device *); - -void init_polling(void); -void cleanup_polling(void); -void start_polling(comedi_device *); -void stop_polling(comedi_device *); - -void comedi_proc_init(void); -void comedi_proc_cleanup(void); - -#ifdef CONFIG_COMEDI_MODE_CORE -int di_unpack(unsigned int bits,comedi_trig *it); -int do_pack(unsigned int *bits,comedi_trig *it); -#endif - -#ifndef CONFIG_COMEDI_RT - -#define rt_printk(format,args...) printk(format,##args) -#define rt_printk_init() -#define rt_printk_cleanup() - -#define comedi_request_irq request_irq -#define comedi_change_irq_flags(a,b,c) /* */ -#define comedi_free_irq free_irq - -#endif - - -#define SRF_USER 0x00000001 -#define SRF_RT 0x00000002 - - -/* - various internal comedi functions - */ - -int do_rangeinfo_ioctl(comedi_device *dev,comedi_rangeinfo *arg); -int check_chanlist(comedi_subdevice *s,int n,unsigned int *chanlist); - -extern volatile int rtcomedi_lock_semaphore; - -/* range stuff */ - - -#define RANGE(a,b) {(a)*1e6,(b)*1e6,0} -#define RANGE_ext(a,b) {(a)*1e6,(b)*1e6,RF_EXTERNAL} -#define RANGE_unitless(a,b) {(a)*1e6,(b)*1e6,0} /* XXX */ -#define BIP_RANGE(a) {-(a)*1e6,(a)*1e6,0} -#define UNI_RANGE(a) {0,(a)*1e6,0} - -extern comedi_lrange range_bipolar10; -extern comedi_lrange range_bipolar5; -extern comedi_lrange range_bipolar2_5; -extern comedi_lrange range_unipolar10; -extern comedi_lrange range_unipolar5; -extern comedi_lrange range_unknown; - -#define range_digital range_unipolar5 - -struct comedi_lrange_struct{ - int length; - comedi_krange range[0]; -}; - - - -/* some silly little inline functions */ - -static inline int alloc_subdevices(comedi_device *dev) -{ - int size=sizeof(comedi_subdevice)*dev->n_subdevices; - - dev->subdevices=kmalloc(size,GFP_KERNEL); - if(!dev->subdevices) - return -ENOMEM; - memset(dev->subdevices,0,size); - return 0; -} - -static inline int alloc_private(comedi_device *dev,int size) -{ - dev->private=kmalloc(size,GFP_KERNEL); - if(!dev->private) - return -ENOMEM; - memset(dev->private,0,size); - return 0; -} - - -#ifdef LINUX_V20 -extern struct symbol_table comedi_syms; -#endif - - -#endif /* _COMEDI_MODULE_H */ - - - - diff --git a/comedi/drivers.c b/comedi/drivers.c index 67d102c1..b58b481e 100644 --- a/comedi/drivers.c +++ b/comedi/drivers.c @@ -21,7 +21,7 @@ */ -#include +#include #include #define __NO_VERSION__ @@ -424,7 +424,7 @@ static int mode0_emulate(comedi_device *dev,comedi_subdevice *s,comedi_trig *tri insn.chanspec=trig->chanlist[0]; if(trig->flags&TRIG_CONFIG) - return mode0_emulate_config(); + return mode0_emulate_config(dev,s,trig); if(s->subdev_flags & SDF_WRITEABLE){ if(s->subdev_flags & SDF_READABLE){ diff --git a/comedi/drivers/8255.c b/comedi/drivers/8255.c index 06a08113..b645834e 100644 --- a/comedi/drivers/8255.c +++ b/comedi/drivers/8255.c @@ -38,7 +38,7 @@ #include #include #include -#include +#include diff --git a/comedi/drivers/8255.h b/comedi/drivers/8255.h index d45283e3..063d545e 100644 --- a/comedi/drivers/8255.h +++ b/comedi/drivers/8255.h @@ -24,7 +24,7 @@ #ifndef _8255_H #define _8255_H -#include +#include #ifdef CONFIG_COMEDI_8255 diff --git a/comedi/drivers/adl_pci9118.c b/comedi/drivers/adl_pci9118.c index b73cdd9a..db8e28ed 100644 --- a/comedi/drivers/adl_pci9118.c +++ b/comedi/drivers/adl_pci9118.c @@ -28,7 +28,7 @@ #include #include #include -#include +#include #include #include <8253.h> diff --git a/comedi/drivers/comedi_parport.c b/comedi/drivers/comedi_parport.c index 693d3321..88cb0240 100644 --- a/comedi/drivers/comedi_parport.c +++ b/comedi/drivers/comedi_parport.c @@ -43,7 +43,7 @@ #include #include #include -#include +#include #define PARPORT_SIZE 3 diff --git a/comedi/drivers/daqboard2000.c b/comedi/drivers/daqboard2000.c index f6d816d7..70126870 100644 --- a/comedi/drivers/daqboard2000.c +++ b/comedi/drivers/daqboard2000.c @@ -109,7 +109,7 @@ #include #include #include -#include +#include #include <8255.h> #ifdef CONFIG_COMEDI_DAQBOARD2000_FPGA #include diff --git a/comedi/drivers/das08-new.c b/comedi/drivers/das08-new.c index 4100dc97..f5014cc4 100644 --- a/comedi/drivers/das08-new.c +++ b/comedi/drivers/das08-new.c @@ -24,7 +24,7 @@ #include #include -#include +#include #include #include #include diff --git a/comedi/drivers/das08.c b/comedi/drivers/das08.c index b0e4d746..24bac2f9 100644 --- a/comedi/drivers/das08.c +++ b/comedi/drivers/das08.c @@ -27,7 +27,7 @@ #include #include -#include +#include #include #include #include diff --git a/comedi/drivers/das08jr.c b/comedi/drivers/das08jr.c index fab75262..fceeabef 100644 --- a/comedi/drivers/das08jr.c +++ b/comedi/drivers/das08jr.c @@ -18,7 +18,7 @@ */ -#include +#include #include #include diff --git a/comedi/drivers/das16-new.c b/comedi/drivers/das16-new.c index c55b262d..99134881 100644 --- a/comedi/drivers/das16-new.c +++ b/comedi/drivers/das16-new.c @@ -24,7 +24,7 @@ #include #include -#include +#include #include #include #include diff --git a/comedi/drivers/das16.c b/comedi/drivers/das16.c index 844474b0..387ac1ab 100644 --- a/comedi/drivers/das16.c +++ b/comedi/drivers/das16.c @@ -15,7 +15,7 @@ * by David Schleef. */ -#include +#include #include #include #include diff --git a/comedi/drivers/das1600.c b/comedi/drivers/das1600.c index 629c1f43..504e660b 100644 --- a/comedi/drivers/das1600.c +++ b/comedi/drivers/das1600.c @@ -33,7 +33,7 @@ #include #include #include -#include +#include #include <8255.h> diff --git a/comedi/drivers/das6402.c b/comedi/drivers/das6402.c index c1946983..6d73802b 100644 --- a/comedi/drivers/das6402.c +++ b/comedi/drivers/das6402.c @@ -30,7 +30,7 @@ */ #include -#include +#include #include #include #include diff --git a/comedi/drivers/dt2801.c b/comedi/drivers/dt2801.c index d73b773b..4d768645 100644 --- a/comedi/drivers/dt2801.c +++ b/comedi/drivers/dt2801.c @@ -3,7 +3,7 @@ * */ -#include +#include #include #include #include diff --git a/comedi/drivers/dt2811.c b/comedi/drivers/dt2811.c index 87e9faf9..f9fe7bb9 100644 --- a/comedi/drivers/dt2811.c +++ b/comedi/drivers/dt2811.c @@ -36,7 +36,7 @@ #include #include #include -#include +#include static char *driver_name = "dt2811"; diff --git a/comedi/drivers/dt2814.c b/comedi/drivers/dt2814.c index 458aed1e..11ba12f7 100644 --- a/comedi/drivers/dt2814.c +++ b/comedi/drivers/dt2814.c @@ -34,7 +34,7 @@ #include #include #include -#include +#include diff --git a/comedi/drivers/dt2815.c b/comedi/drivers/dt2815.c index 92a2431c..bd3e1556 100644 --- a/comedi/drivers/dt2815.c +++ b/comedi/drivers/dt2815.c @@ -33,7 +33,7 @@ #include #include #include -#include +#include static comedi_lrange range_dt2815_ao_32_current = { 1, { diff --git a/comedi/drivers/dt2817.c b/comedi/drivers/dt2817.c index 450e7ca1..19ceb4e2 100644 --- a/comedi/drivers/dt2817.c +++ b/comedi/drivers/dt2817.c @@ -33,7 +33,7 @@ #include #include #include -#include +#include diff --git a/comedi/drivers/dt282x.c b/comedi/drivers/dt282x.c index b328770a..7b1bb680 100644 --- a/comedi/drivers/dt282x.c +++ b/comedi/drivers/dt282x.c @@ -22,7 +22,7 @@ */ -#include +#include #include #include #include diff --git a/comedi/drivers/dt3000.c b/comedi/drivers/dt3000.c index 2c3821e4..da27328c 100644 --- a/comedi/drivers/dt3000.c +++ b/comedi/drivers/dt3000.c @@ -38,7 +38,7 @@ you the docs without one, also. */ -#include +#include #include #include #include diff --git a/comedi/drivers/ii_pci20kc.c b/comedi/drivers/ii_pci20kc.c index fae6c63e..4f0b502b 100644 --- a/comedi/drivers/ii_pci20kc.c +++ b/comedi/drivers/ii_pci20kc.c @@ -39,7 +39,7 @@ * */ -#include +#include #include /* modularer Kernel */ #include /* printk() */ diff --git a/comedi/drivers/mite.c b/comedi/drivers/mite.c index 1b9dcc85..a79b3ca5 100644 --- a/comedi/drivers/mite.c +++ b/comedi/drivers/mite.c @@ -48,7 +48,7 @@ */ -#include +#include #include #include #include diff --git a/comedi/drivers/mite.h b/comedi/drivers/mite.h index 3c28df24..7a856fdf 100644 --- a/comedi/drivers/mite.h +++ b/comedi/drivers/mite.h @@ -24,7 +24,7 @@ #ifndef _MITE_H_ #define _MITE_H_ -#include +#include #include #ifdef PCI_SUPPORT_VER1 #include diff --git a/comedi/drivers/multiq3.c b/comedi/drivers/multiq3.c index fd102db5..fe09445a 100644 --- a/comedi/drivers/multiq3.c +++ b/comedi/drivers/multiq3.c @@ -33,7 +33,7 @@ #include #include #include -#include +#include #define MULTIQ3_SIZE 16 diff --git a/comedi/drivers/ni_atmio.c b/comedi/drivers/ni_atmio.c index 3f7dda5c..fcd2fc0c 100644 --- a/comedi/drivers/ni_atmio.c +++ b/comedi/drivers/ni_atmio.c @@ -67,7 +67,7 @@ #ifdef CONFIG_COMEDI_RTL #include #endif -#include +#include #include #include <8255.h> diff --git a/comedi/drivers/ni_atmio16d.c b/comedi/drivers/ni_atmio16d.c index a7873149..fca31f6a 100644 --- a/comedi/drivers/ni_atmio16d.c +++ b/comedi/drivers/ni_atmio16d.c @@ -40,7 +40,7 @@ #include #include #include -#include +#include #include <8255.h> diff --git a/comedi/drivers/ni_mio_cs.c b/comedi/drivers/ni_mio_cs.c index 95625d83..dce2445f 100644 --- a/comedi/drivers/ni_mio_cs.c +++ b/comedi/drivers/ni_mio_cs.c @@ -43,7 +43,7 @@ #ifdef CONFIG_COMEDI_RTL #include #endif -#include +#include #include #include <8255.h> diff --git a/comedi/drivers/ni_pcidio.c b/comedi/drivers/ni_pcidio.c index abefd503..b3e06b5a 100644 --- a/comedi/drivers/ni_pcidio.c +++ b/comedi/drivers/ni_pcidio.c @@ -40,7 +40,7 @@ #include #include -#include +#include #include #include #include diff --git a/comedi/drivers/ni_pcimio.c b/comedi/drivers/ni_pcimio.c index 1e2750f5..c0c7d0c2 100644 --- a/comedi/drivers/ni_pcimio.c +++ b/comedi/drivers/ni_pcimio.c @@ -72,7 +72,7 @@ #include #include #include -#include +#include #include #include diff --git a/comedi/drivers/pcl711.c b/comedi/drivers/pcl711.c index e20841d3..004f45ad 100644 --- a/comedi/drivers/pcl711.c +++ b/comedi/drivers/pcl711.c @@ -58,7 +58,7 @@ #include #include #include -#include +#include #include <8253.h> diff --git a/comedi/drivers/pcl724.c b/comedi/drivers/pcl724.c index 0cc079d7..477b3272 100644 --- a/comedi/drivers/pcl724.c +++ b/comedi/drivers/pcl724.c @@ -33,7 +33,7 @@ #include #include #include -#include +#include #include <8255.h> #define PCL722_SIZE 32 diff --git a/comedi/drivers/pcl725.c b/comedi/drivers/pcl725.c index c8d4bd81..5a83cf21 100644 --- a/comedi/drivers/pcl725.c +++ b/comedi/drivers/pcl725.c @@ -15,7 +15,7 @@ #include #include #include -#include +#include diff --git a/comedi/drivers/pcl726.c b/comedi/drivers/pcl726.c index 826727c3..7cd0a044 100644 --- a/comedi/drivers/pcl726.c +++ b/comedi/drivers/pcl726.c @@ -72,7 +72,7 @@ #include #include #include -#include +#include #undef ACL6126_IRQ /* no interrupt support (yet) */ diff --git a/comedi/drivers/pcl812.c b/comedi/drivers/pcl812.c index 12b88bfb..e320ac18 100644 --- a/comedi/drivers/pcl812.c +++ b/comedi/drivers/pcl812.c @@ -41,7 +41,7 @@ #include #include #include -#include +#include #include <8253.h> /* #define MD_DEBUG */ diff --git a/comedi/drivers/pcl818.c b/comedi/drivers/pcl818.c index b94bb49e..c719fe12 100644 --- a/comedi/drivers/pcl818.c +++ b/comedi/drivers/pcl818.c @@ -69,7 +69,7 @@ #include #include #include -#include +#include #include <8253.h> // #define PCL818_MODE13_AO 1 diff --git a/comedi/drivers/quatech_daqp_cs.c b/comedi/drivers/quatech_daqp_cs.c index 8ce282ba..47862368 100644 --- a/comedi/drivers/quatech_daqp_cs.c +++ b/comedi/drivers/quatech_daqp_cs.c @@ -48,7 +48,7 @@ #include #include -#include +#include /* All the PCMCIA modules use PCMCIA_DEBUG to control debugging. If diff --git a/comedi/drivers/rti800.c b/comedi/drivers/rti800.c index 1cbebff8..83c9bb0c 100644 --- a/comedi/drivers/rti800.c +++ b/comedi/drivers/rti800.c @@ -33,7 +33,7 @@ #include #include #include -#include +#include #define RTI800_SIZE 16 diff --git a/comedi/drivers/rti802.c b/comedi/drivers/rti802.c index 5d3189bb..29ee34d4 100644 --- a/comedi/drivers/rti802.c +++ b/comedi/drivers/rti802.c @@ -33,7 +33,7 @@ #include #include #include -#include +#include #define RTI802_SIZE 4 diff --git a/comedi/drivers/skel.c b/comedi/drivers/skel.c index 78da6e7e..72cb27c2 100644 --- a/comedi/drivers/skel.c +++ b/comedi/drivers/skel.c @@ -33,7 +33,7 @@ #include #include #include -#include +#include /* Imaginary registers for the imaginary board */ diff --git a/comedi/dummy.c b/comedi/dummy.c index 4283eb76..b71aa9ff 100644 --- a/comedi/dummy.c +++ b/comedi/dummy.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include /* this structure is for data unique to this hardware driver. If several hardware drivers keep similar information in this structure, diff --git a/comedi/kcomedilib/data.c b/comedi/kcomedilib/data.c index 10442bd1..4f74c4c1 100644 --- a/comedi/kcomedilib/data.c +++ b/comedi/kcomedilib/data.c @@ -23,7 +23,7 @@ -#include +#include #include #include diff --git a/comedi/kcomedilib/dio.c b/comedi/kcomedilib/dio.c index d22bca96..de7fdade 100644 --- a/comedi/kcomedilib/dio.c +++ b/comedi/kcomedilib/dio.c @@ -23,7 +23,7 @@ -#include +#include #include #include diff --git a/comedi/kcomedilib/kcomedilib_main.c b/comedi/kcomedilib/kcomedilib_main.c index fe7b5b85..b427bd71 100644 --- a/comedi/kcomedilib/kcomedilib_main.c +++ b/comedi/kcomedilib/kcomedilib_main.c @@ -23,7 +23,7 @@ -#include +#include #include diff --git a/comedi/proc.c b/comedi/proc.c index f6e0fbf2..58ac0a5e 100644 --- a/comedi/proc.c +++ b/comedi/proc.c @@ -29,7 +29,7 @@ */ -#include +#include #include #include diff --git a/comedi/range.c b/comedi/range.c index 8a08d789..5f866b72 100644 --- a/comedi/range.c +++ b/comedi/range.c @@ -21,7 +21,7 @@ */ -#include +#include #ifdef LINUX_V22 #include #endif diff --git a/comedi/realtime/vd_dds.c b/comedi/realtime/vd_dds.c index 2ee28a76..b0576eef 100644 --- a/comedi/realtime/vd_dds.c +++ b/comedi/realtime/vd_dds.c @@ -34,7 +34,7 @@ #include #include #include -#include +#include #ifdef CONFIG_COMEDI_RTL_V1 #include #endif diff --git a/comedi/realtime/vd_timer.c b/comedi/realtime/vd_timer.c index bb69e588..9cfe5796 100644 --- a/comedi/realtime/vd_timer.c +++ b/comedi/realtime/vd_timer.c @@ -33,7 +33,7 @@ #include #include #include -#include +#include #ifdef CONFIG_COMEDI_RTL_V1 #include #include diff --git a/comedi/rt.c b/comedi/rt.c index fcc59008..d05f6490 100644 --- a/comedi/rt.c +++ b/comedi/rt.c @@ -23,7 +23,7 @@ #undef DEBUG -#include +#include #include #include diff --git a/comedi/rtai.c b/comedi/rtai.c index d9725ac5..b275bee9 100644 --- a/comedi/rtai.c +++ b/comedi/rtai.c @@ -3,7 +3,7 @@ * */ -#include +#include #include #include diff --git a/comedi/rtl.c b/comedi/rtl.c index a60a6940..c591e5d6 100644 --- a/comedi/rtl.c +++ b/comedi/rtl.c @@ -5,7 +5,7 @@ #define __NO_VERSION__ -#include +#include #include #include diff --git a/comedi/rtl_v1.c b/comedi/rtl_v1.c index 78ef04c0..af28f1f7 100644 --- a/comedi/rtl_v1.c +++ b/comedi/rtl_v1.c @@ -3,7 +3,7 @@ * */ -#include +#include #include #include -- 2.26.2