Staging: comedi: Remove comedi_driver typedef
authorBill Pemberton <wfp5p@virginia.edu>
Tue, 17 Mar 2009 02:05:25 +0000 (22:05 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Apr 2009 21:53:56 +0000 (14:53 -0700)
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
106 files changed:
drivers/staging/comedi/comedidev.h
drivers/staging/comedi/drivers.c
drivers/staging/comedi/drivers/8255.c
drivers/staging/comedi/drivers/acl7225b.c
drivers/staging/comedi/drivers/addi-data/addi_common.c
drivers/staging/comedi/drivers/adl_pci6208.c
drivers/staging/comedi/drivers/adl_pci7296.c
drivers/staging/comedi/drivers/adl_pci7432.c
drivers/staging/comedi/drivers/adl_pci8164.c
drivers/staging/comedi/drivers/adl_pci9111.c
drivers/staging/comedi/drivers/adl_pci9118.c
drivers/staging/comedi/drivers/adq12b.c
drivers/staging/comedi/drivers/adv_pci1710.c
drivers/staging/comedi/drivers/adv_pci1723.c
drivers/staging/comedi/drivers/adv_pci_dio.c
drivers/staging/comedi/drivers/aio_aio12_8.c
drivers/staging/comedi/drivers/aio_iiro_16.c
drivers/staging/comedi/drivers/amplc_dio200.c
drivers/staging/comedi/drivers/amplc_pc236.c
drivers/staging/comedi/drivers/amplc_pc263.c
drivers/staging/comedi/drivers/amplc_pci224.c
drivers/staging/comedi/drivers/amplc_pci230.c
drivers/staging/comedi/drivers/c6xdigio.c
drivers/staging/comedi/drivers/cb_das16_cs.c
drivers/staging/comedi/drivers/cb_pcidas.c
drivers/staging/comedi/drivers/cb_pcidas64.c
drivers/staging/comedi/drivers/cb_pcidda.c
drivers/staging/comedi/drivers/cb_pcidio.c
drivers/staging/comedi/drivers/cb_pcimdas.c
drivers/staging/comedi/drivers/cb_pcimdda.c
drivers/staging/comedi/drivers/comedi_bond.c
drivers/staging/comedi/drivers/comedi_parport.c
drivers/staging/comedi/drivers/comedi_rt_timer.c
drivers/staging/comedi/drivers/comedi_test.c
drivers/staging/comedi/drivers/contec_pci_dio.c
drivers/staging/comedi/drivers/daqboard2000.c
drivers/staging/comedi/drivers/das08.c
drivers/staging/comedi/drivers/das08_cs.c
drivers/staging/comedi/drivers/das16.c
drivers/staging/comedi/drivers/das16m1.c
drivers/staging/comedi/drivers/das1800.c
drivers/staging/comedi/drivers/das6402.c
drivers/staging/comedi/drivers/das800.c
drivers/staging/comedi/drivers/dmm32at.c
drivers/staging/comedi/drivers/dt2801.c
drivers/staging/comedi/drivers/dt2811.c
drivers/staging/comedi/drivers/dt2814.c
drivers/staging/comedi/drivers/dt2815.c
drivers/staging/comedi/drivers/dt2817.c
drivers/staging/comedi/drivers/dt282x.c
drivers/staging/comedi/drivers/dt3000.c
drivers/staging/comedi/drivers/dt9812.c
drivers/staging/comedi/drivers/fl512.c
drivers/staging/comedi/drivers/gsc_hpdi.c
drivers/staging/comedi/drivers/icp_multi.c
drivers/staging/comedi/drivers/ii_pci20kc.c
drivers/staging/comedi/drivers/jr3_pci.c
drivers/staging/comedi/drivers/ke_counter.c
drivers/staging/comedi/drivers/me4000.c
drivers/staging/comedi/drivers/me_daq.c
drivers/staging/comedi/drivers/mpc624.c
drivers/staging/comedi/drivers/mpc8260cpm.c
drivers/staging/comedi/drivers/multiq3.c
drivers/staging/comedi/drivers/ni_6527.c
drivers/staging/comedi/drivers/ni_65xx.c
drivers/staging/comedi/drivers/ni_660x.c
drivers/staging/comedi/drivers/ni_670x.c
drivers/staging/comedi/drivers/ni_at_a2150.c
drivers/staging/comedi/drivers/ni_at_ao.c
drivers/staging/comedi/drivers/ni_atmio.c
drivers/staging/comedi/drivers/ni_atmio16d.c
drivers/staging/comedi/drivers/ni_daq_700.c
drivers/staging/comedi/drivers/ni_daq_dio24.c
drivers/staging/comedi/drivers/ni_labpc.c
drivers/staging/comedi/drivers/ni_labpc_cs.c
drivers/staging/comedi/drivers/ni_mio_cs.c
drivers/staging/comedi/drivers/ni_pcidio.c
drivers/staging/comedi/drivers/ni_pcimio.c
drivers/staging/comedi/drivers/pcl711.c
drivers/staging/comedi/drivers/pcl724.c
drivers/staging/comedi/drivers/pcl725.c
drivers/staging/comedi/drivers/pcl726.c
drivers/staging/comedi/drivers/pcl730.c
drivers/staging/comedi/drivers/pcl812.c
drivers/staging/comedi/drivers/pcl816.c
drivers/staging/comedi/drivers/pcl818.c
drivers/staging/comedi/drivers/pcm3724.c
drivers/staging/comedi/drivers/pcm3730.c
drivers/staging/comedi/drivers/pcmad.c
drivers/staging/comedi/drivers/pcmda12.c
drivers/staging/comedi/drivers/pcmmio.c
drivers/staging/comedi/drivers/pcmuio.c
drivers/staging/comedi/drivers/poc.c
drivers/staging/comedi/drivers/quatech_daqp_cs.c
drivers/staging/comedi/drivers/rtd520.c
drivers/staging/comedi/drivers/rti800.c
drivers/staging/comedi/drivers/rti802.c
drivers/staging/comedi/drivers/s526.c
drivers/staging/comedi/drivers/s626.c
drivers/staging/comedi/drivers/serial2002.c
drivers/staging/comedi/drivers/skel.c
drivers/staging/comedi/drivers/ssv_dnp.c
drivers/staging/comedi/drivers/unioxx5.c
drivers/staging/comedi/drivers/usbdux.c
drivers/staging/comedi/drivers/usbduxfast.c
drivers/staging/comedi/proc.c

index 1fdb093f93187f0d01440c9944e2ca8137d679d3..83c45a691bdd5ab14451f1ab505c234ea03e296e 100644 (file)
 #define COMEDI_NUM_BOARD_MINORS 0x30
 #define COMEDI_FIRST_SUBDEVICE_MINOR COMEDI_NUM_BOARD_MINORS
 
-typedef struct comedi_driver_struct comedi_driver;
 typedef struct comedi_lrange_struct comedi_lrange;
 
 typedef struct device device_create_result_type;
@@ -239,8 +238,8 @@ struct comedi_async {
                        unsigned int x);
 };
 
-struct comedi_driver_struct {
-       struct comedi_driver_struct *next;
+struct comedi_driver {
+       struct comedi_driver *next;
 
        const char *driver_name;
        struct module *module;
@@ -256,7 +255,7 @@ struct comedi_driver_struct {
 
 struct comedi_device {
        int use_count;
-       comedi_driver *driver;
+       struct comedi_driver *driver;
        void *private;
 
        device_create_result_type *class_dev;
@@ -343,8 +342,8 @@ static inline struct comedi_subdevice *comedi_get_write_subdevice(
 
 void comedi_device_detach(struct comedi_device *dev);
 int comedi_device_attach(struct comedi_device *dev, comedi_devconfig *it);
-int comedi_driver_register(comedi_driver *);
-int comedi_driver_unregister(comedi_driver *);
+int comedi_driver_register(struct comedi_driver *);
+int comedi_driver_unregister(struct comedi_driver *);
 
 void init_polling(void);
 void cleanup_polling(void);
index 30e3beb6e97bdb352ed709aff9f0b1cfc4605013..2d09a01c86c342b80a3d99b08d7cb53ce8bb0fcb 100644 (file)
 static int postconfig(struct comedi_device *dev);
 static int insn_rw_emulate_bits(struct comedi_device *dev, struct comedi_subdevice *s,
        comedi_insn *insn, unsigned int *data);
-static void *comedi_recognize(comedi_driver * driv, const char *name);
-static void comedi_report_boards(comedi_driver *driv);
+static void *comedi_recognize(struct comedi_driver * driv, const char *name);
+static void comedi_report_boards(struct comedi_driver *driv);
 static int poll_invalid(struct comedi_device *dev, struct comedi_subdevice *s);
 int comedi_buf_alloc(struct comedi_device *dev, struct comedi_subdevice *s,
        unsigned long new_size);
 
-comedi_driver *comedi_drivers;
+struct comedi_driver *comedi_drivers;
 
 int comedi_modprobe(int minor)
 {
@@ -115,7 +115,7 @@ void comedi_device_detach(struct comedi_device *dev)
 
 int comedi_device_attach(struct comedi_device *dev, comedi_devconfig *it)
 {
-       comedi_driver *driv;
+       struct comedi_driver *driv;
        int ret;
 
        if (dev->attached)
@@ -180,7 +180,7 @@ attached:
        return 0;
 }
 
-int comedi_driver_register(comedi_driver *driver)
+int comedi_driver_register(struct comedi_driver *driver)
 {
        driver->next = comedi_drivers;
        comedi_drivers = driver;
@@ -188,9 +188,9 @@ int comedi_driver_register(comedi_driver *driver)
        return 0;
 }
 
-int comedi_driver_unregister(comedi_driver *driver)
+int comedi_driver_unregister(struct comedi_driver *driver)
 {
-       comedi_driver *prev;
+       struct comedi_driver *prev;
        int i;
 
        /* check for devices using this driver */
@@ -298,7 +298,7 @@ static int postconfig(struct comedi_device *dev)
 }
 
 /*  generic recognize function for drivers that register their supported board names */
-void *comedi_recognize(comedi_driver * driv, const char *name)
+void *comedi_recognize(struct comedi_driver * driv, const char *name)
 {
        unsigned i;
        const char *const *name_ptr = driv->board_name;
@@ -313,7 +313,7 @@ void *comedi_recognize(comedi_driver * driv, const char *name)
        return NULL;
 }
 
-void comedi_report_boards(comedi_driver *driv)
+void comedi_report_boards(struct comedi_driver *driv)
 {
        unsigned int i;
        const char *const *name_ptr;
index e4920ae934ae3fb4afde2cfc2a0206c48a1e7a4d..6e1786059d22e2f2541304d2b52e78ca3b344cac 100644 (file)
@@ -107,7 +107,7 @@ struct subdev_8255_struct {
 
 static int dev_8255_attach(struct comedi_device *dev, comedi_devconfig * it);
 static int dev_8255_detach(struct comedi_device *dev);
-static comedi_driver driver_8255 = {
+static struct comedi_driver driver_8255 = {
       driver_name:"8255",
       module:THIS_MODULE,
       attach:dev_8255_attach,
index f273a6f0094e650e84cd6d4e5014624e9d8b15c4..235dcfea49d475dae72c070e58bf8e48e38f26db 100644 (file)
@@ -38,7 +38,7 @@ static const boardtype boardtypes[] = {
 #define n_boardtypes (sizeof(boardtypes)/sizeof(boardtype))
 #define this_board ((const boardtype *)dev->board_ptr)
 
-static comedi_driver driver_acl7225b = {
+static struct comedi_driver driver_acl7225b = {
       driver_name:"acl7225b",
       module:THIS_MODULE,
       attach:acl7225b_attach,
index 49d6332d9db23c2cf917d2d84e18b693f4376ce4..718c4be560f06be508330be4ac3db86d422d8355 100644 (file)
@@ -2527,7 +2527,7 @@ static const boardtype boardtypes[] = {
 
 #define n_boardtypes (sizeof(boardtypes)/sizeof(boardtype))
 
-comedi_driver driver_addi = {
+struct comedi_driver driver_addi = {
       driver_name:"addi_common",
       module:THIS_MODULE,
       attach:i_ADDI_Attach,
index 9e1597caf21dc6aca100e4512b59544c356e2ae8..9572f04c4cdd23119e93149e337c7a7ef2977ba6 100644 (file)
@@ -112,7 +112,7 @@ static int pci6208_detach(struct comedi_device * dev);
 #define pci6208_board_nbr \
        (sizeof(pci6208_boards) / sizeof(pci6208_board))
 
-static comedi_driver driver_pci6208 = {
+static struct comedi_driver driver_pci6208 = {
       driver_name:PCI6208_DRIVER_NAME,
       module:THIS_MODULE,
       attach:pci6208_attach,
index f38aa06d3c4e980039f7533b4ee57585b532ad0b..21b8ba80dac988dca6df5834bebb8848ab345a8c 100644 (file)
@@ -65,7 +65,7 @@ typedef struct {
 
 static int adl_pci7296_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int adl_pci7296_detach(struct comedi_device * dev);
-static comedi_driver driver_adl_pci7296 = {
+static struct comedi_driver driver_adl_pci7296 = {
       driver_name:"adl_pci7296",
       module:THIS_MODULE,
       attach:adl_pci7296_attach,
index a36be5e14f63722ee6e52542d2dbbae18a1025cd..7e8741e51cecf617ccf8268c61b9c580f9ba1b54 100644 (file)
@@ -60,7 +60,7 @@ typedef struct {
 
 static int adl_pci7432_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int adl_pci7432_detach(struct comedi_device * dev);
-static comedi_driver driver_adl_pci7432 = {
+static struct comedi_driver driver_adl_pci7432 = {
       driver_name:"adl_pci7432",
       module:THIS_MODULE,
       attach:adl_pci7432_attach,
index cc95acf762f8eeeaf050c54d9851b65645e15668..fd925f5d86f6171a4d795539405d9b556ea756e0 100644 (file)
@@ -72,7 +72,7 @@ typedef struct {
 
 static int adl_pci8164_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int adl_pci8164_detach(struct comedi_device * dev);
-static comedi_driver driver_adl_pci8164 = {
+static struct comedi_driver driver_adl_pci8164 = {
       driver_name:"adl_pci8164",
       module:THIS_MODULE,
       attach:adl_pci8164_attach,
index cc6b1c6713c4c6483254e1f551bccdeb60332b74..8b4c201aa4af45f5c6c73146714f4b5f139b66aa 100644 (file)
@@ -326,7 +326,7 @@ static const pci9111_board_struct pci9111_boards[] = {
 #define pci9111_board_nbr \
   (sizeof(pci9111_boards)/sizeof(pci9111_board_struct))
 
-static comedi_driver pci9111_driver = {
+static struct comedi_driver pci9111_driver = {
       driver_name:PCI9111_DRIVER_NAME,
       module:THIS_MODULE,
       attach:pci9111_attach,
index 67e26a3c847cc1355540f443d869807f67f50147..e2a6c29534d242dfd19ec0c6e770634b46c4a83b 100644 (file)
@@ -229,7 +229,7 @@ static const boardtype boardtypes[] = {
 
 #define n_boardtypes (sizeof(boardtypes)/sizeof(boardtype))
 
-static comedi_driver driver_pci9118 = {
+static struct comedi_driver driver_pci9118 = {
       driver_name:"adl_pci9118",
       module:THIS_MODULE,
       attach:pci9118_attach,
index 99a7a0562082ff28ce8cd00645ecbcb84cc79c7c..b5a328116807c89e69242031e81c4f8d13f94a03 100644 (file)
@@ -157,14 +157,14 @@ typedef struct{
 #define devpriv ((adq12b_private *)dev->private)
 
 /*
- * The comedi_driver structure tells the Comedi core module
+ * The struct comedi_driver structure tells the Comedi core module
  * which functions to call to configure/deconfigure (attach/detach)
  * the board, and also about the kernel module that contains
  * the device code.
  */
 static int adq12b_attach(struct comedi_device *dev,comedi_devconfig *it);
 static int adq12b_detach(struct comedi_device *dev);
-static comedi_driver driver_adq12b={
+static struct comedi_driver driver_adq12b={
         driver_name:    "adq12b",
         module:         THIS_MODULE,
         attach:         adq12b_attach,
index e66c2560b2cde1231d65df52d898a0f7c1437fe3..776f93dc5ecbb1997e7dc59caebcb6cbf51302e0 100644 (file)
@@ -256,7 +256,7 @@ static const boardtype boardtypes[] = {
 
 #define n_boardtypes (sizeof(boardtypes)/sizeof(boardtype))
 
-static comedi_driver driver_pci1710 = {
+static struct comedi_driver driver_pci1710 = {
        .driver_name = DRV_NAME,
        .module = THIS_MODULE,
        .attach = pci1710_attach,
index 8209e60c783c5a062a764ce852ecc53b7f754da2..5ce393043d177acab1fd4bda5d694cd40893ffeb 100644 (file)
@@ -138,7 +138,7 @@ static DEFINE_PCI_DEVICE_TABLE(pci1723_pci_table) = {
 MODULE_DEVICE_TABLE(pci, pci1723_pci_table);
 
 /*
- * The comedi_driver structure tells the Comedi core module
+ * The struct comedi_driver structure tells the Comedi core module
  * which functions to call to configure/deconfigure (attach/detach)
  * the board, and also about the kernel module that contains
  * the device code.
@@ -148,7 +148,7 @@ static int pci1723_detach(struct comedi_device * dev);
 
 #define n_boardtypes (sizeof(boardtypes)/sizeof(boardtype))
 
-static comedi_driver driver_pci1723 = {
+static struct comedi_driver driver_pci1723 = {
       driver_name:"adv_pci1723",
       module:THIS_MODULE,
       attach:pci1723_attach,
index e0e62ea57f7e59a92cc9dd6a5e7053fd526d05a8..5fcba548a786f795ebcf9794ebcf9ebf1ae10e7c 100644 (file)
@@ -322,7 +322,7 @@ static const boardtype boardtypes[] = {
 
 #define n_boardtypes (sizeof(boardtypes)/sizeof(boardtype))
 
-static comedi_driver driver_pci_dio = {
+static struct comedi_driver driver_pci_dio = {
       driver_name:"adv_pci_dio",
       module:THIS_MODULE,
       attach:pci_dio_attach,
index 5b62ec9608a8cfd1ccc8f8c362d1dd01c64ebc30..4c569ddb195e1a4658be80fb40e7e0056b917762 100644 (file)
@@ -213,7 +213,7 @@ static int aio_aio12_8_detach(struct comedi_device * dev)
        return 0;
 }
 
-static comedi_driver driver_aio_aio12_8 = {
+static struct comedi_driver driver_aio_aio12_8 = {
       driver_name:"aio_aio12_8",
       module:THIS_MODULE,
       attach:aio_aio12_8_attach,
index 0e3f8d5aa06c30ad6083d5408aeda9a5c2f969af..b04ad03c85e765d12bb521172ea8608bec59a76b 100644 (file)
@@ -71,7 +71,7 @@ static int aio_iiro_16_attach(struct comedi_device * dev, comedi_devconfig * it)
 
 static int aio_iiro_16_detach(struct comedi_device * dev);
 
-static comedi_driver driver_aio_iiro_16 = {
+static struct comedi_driver driver_aio_iiro_16 = {
       driver_name:"aio_iiro_16",
       module:THIS_MODULE,
       attach:aio_iiro_16_attach,
index f34e45028256c19e197e140cf77c8b0c4c87fc00..6323b571f61e3db294a406b076b8575f8893203d 100644 (file)
@@ -468,14 +468,14 @@ typedef struct {
 } dio200_subdev_intr;
 
 /*
- * The comedi_driver structure tells the Comedi core module
+ * The struct comedi_driver structure tells the Comedi core module
  * which functions to call to configure/deconfigure (attach/detach)
  * the board, and also about the kernel module that contains
  * the device code.
  */
 static int dio200_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int dio200_detach(struct comedi_device * dev);
-static comedi_driver driver_amplc_dio200 = {
+static struct comedi_driver driver_amplc_dio200 = {
       driver_name:DIO200_DRIVER_NAME,
       module:THIS_MODULE,
       attach:dio200_attach,
index ba91debae9628399c6d544d49a11f66d03b63673..f9cc28317302a6972479d4fb32581c738f844b63 100644 (file)
@@ -160,14 +160,14 @@ typedef struct {
 #define devpriv ((pc236_private *)dev->private)
 
 /*
- * The comedi_driver structure tells the Comedi core module
+ * The struct comedi_driver structure tells the Comedi core module
  * which functions to call to configure/deconfigure (attach/detach)
  * the board, and also about the kernel module that contains
  * the device code.
  */
 static int pc236_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int pc236_detach(struct comedi_device * dev);
-static comedi_driver driver_amplc_pc236 = {
+static struct comedi_driver driver_amplc_pc236 = {
       driver_name:PC236_DRIVER_NAME,
       module:THIS_MODULE,
       attach:pc236_attach,
index 43bd5324be4abb2ad3dc980d3c7ed2ea2c1f8e92..313f4a0946536bed1bc747e93e5192b8582941e9 100644 (file)
@@ -127,14 +127,14 @@ typedef struct {
 #endif /* CONFIG_COMEDI_PCI */
 
 /*
- * The comedi_driver structure tells the Comedi core module
+ * The struct comedi_driver structure tells the Comedi core module
  * which functions to call to configure/deconfigure (attach/detach)
  * the board, and also about the kernel module that contains
  * the device code.
  */
 static int pc263_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int pc263_detach(struct comedi_device * dev);
-static comedi_driver driver_amplc_pc263 = {
+static struct comedi_driver driver_amplc_pc263 = {
       driver_name:PC263_DRIVER_NAME,
       module:THIS_MODULE,
       attach:pc263_attach,
index e575f7deb31d6717b31d9c55aec844d304339900..4ca283bb58ae9795fbfc9ead2f07c37444e836f1 100644 (file)
@@ -421,14 +421,14 @@ typedef struct {
 #define devpriv ((pci224_private *)dev->private)
 
 /*
- * The comedi_driver structure tells the Comedi core module
+ * The struct comedi_driver structure tells the Comedi core module
  * which functions to call to configure/deconfigure (attach/detach)
  * the board, and also about the kernel module that contains
  * the device code.
  */
 static int pci224_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int pci224_detach(struct comedi_device * dev);
-static comedi_driver driver_amplc_pci224 = {
+static struct comedi_driver driver_amplc_pci224 = {
       driver_name:DRIVER_NAME,
       module:THIS_MODULE,
       attach:pci224_attach,
index 99ffbd2a961c8325549ef5922aaa761dcdeb3844..7676f22772bfbe9b5f03e538649a5443e55744e9 100644 (file)
@@ -596,14 +596,14 @@ static const comedi_lrange pci230_ao_range = { 2, {
 static const unsigned char pci230_ao_bipolar[2] = { 0, 1 };
 
 /*
- * The comedi_driver structure tells the Comedi core module
+ * The struct comedi_driver structure tells the Comedi core module
  * which functions to call to configure/deconfigure (attach/detach)
  * the board, and also about the kernel module that contains
  * the device code.
  */
 static int pci230_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int pci230_detach(struct comedi_device * dev);
-static comedi_driver driver_amplc_pci230 = {
+static struct comedi_driver driver_amplc_pci230 = {
       driver_name:"amplc_pci230",
       module:THIS_MODULE,
       attach:pci230_attach,
index afe3550fe8f122c55449bd02f82367125a0d4b6d..612a04afb294c0d72e22b89d5320a63912e79961 100644 (file)
@@ -99,7 +99,7 @@ union encvaluetype {
 
 static int c6xdigio_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int c6xdigio_detach(struct comedi_device * dev);
-comedi_driver driver_c6xdigio = {
+struct comedi_driver driver_c6xdigio = {
       driver_name:"c6xdigio",
       module:THIS_MODULE,
       attach:c6xdigio_attach,
index ad01884479c0ba275d4a00bedf22f39c169e799d..d16a9278db10260dafb7f7a624fc85e537486328 100644 (file)
@@ -91,7 +91,7 @@ typedef struct {
 
 static int das16cs_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int das16cs_detach(struct comedi_device * dev);
-static comedi_driver driver_das16cs = {
+static struct comedi_driver driver_das16cs = {
       driver_name:"cb_das16_cs",
       module:THIS_MODULE,
       attach:das16cs_attach,
index 53fa8ee0fb7b7bfc6818a4344e59bb4a2a7c530b..75bf1d1735099e5f300b2ef3de4aa01dbc4d4136 100644 (file)
@@ -435,14 +435,14 @@ typedef struct {
 #define devpriv ((cb_pcidas_private *)dev->private)
 
 /*
- * The comedi_driver structure tells the Comedi core module
+ * The struct comedi_driver structure tells the Comedi core module
  * which functions to call to configure/deconfigure (attach/detach)
  * the board, and also about the kernel module that contains
  * the device code.
  */
 static int cb_pcidas_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int cb_pcidas_detach(struct comedi_device * dev);
-static comedi_driver driver_cb_pcidas = {
+static struct comedi_driver driver_cb_pcidas = {
       driver_name:"cb_pcidas",
       module:THIS_MODULE,
       attach:cb_pcidas_attach,
index 345eeb6241bf81f6d692e2eec655155a4b97804f..ea55c2bf3e78752ded23f5ca21c343a5e90395f0 100644 (file)
@@ -1127,7 +1127,7 @@ static inline pcidas64_private *priv(struct comedi_device * dev)
  */
 static int attach(struct comedi_device * dev, comedi_devconfig * it);
 static int detach(struct comedi_device * dev);
-static comedi_driver driver_cb_pcidas = {
+static struct comedi_driver driver_cb_pcidas = {
       driver_name:"cb_pcidas64",
       module:THIS_MODULE,
       attach:attach,
index 474ffedc6daacc9840f24bbf5f5286de7faa28b2..dc107d1df2610b2688e10b77247ea8cdb505eaf7 100644 (file)
@@ -249,12 +249,12 @@ static void cb_pcidda_calibrate(struct comedi_device * dev, unsigned int channel
        unsigned int range);
 
 /*
- * The comedi_driver structure tells the Comedi core module
+ * The struct comedi_driver structure tells the Comedi core module
  * which functions to call to configure/deconfigure (attach/detach)
  * the board, and also about the kernel module that contains
  * the device code.
  */
-static comedi_driver driver_cb_pcidda = {
+static struct comedi_driver driver_cb_pcidda = {
       driver_name:"cb_pcidda",
       module:THIS_MODULE,
       attach:cb_pcidda_attach,
index 7f749bd61b581c8e726f33f2d40028adaee4bcbb..61da4f0bab558f2e7b164e5909a2e11372fa89c3 100644 (file)
@@ -122,14 +122,14 @@ typedef struct {
 #define devpriv ((pcidio_private *)dev->private)
 
 /*
- * The comedi_driver structure tells the Comedi core module
+ * The struct comedi_driver structure tells the Comedi core module
  * which functions to call to configure/deconfigure (attach/detach)
  * the board, and also about the kernel module that contains
  * the device code.
  */
 static int pcidio_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int pcidio_detach(struct comedi_device * dev);
-static comedi_driver driver_cb_pcidio = {
+static struct comedi_driver driver_cb_pcidio = {
       driver_name:"cb_pcidio",
       module:THIS_MODULE,
       attach:pcidio_attach,
index 435bb39e8e4605990f7a02352db32ee6f314d6da..0e739a567eb975a59d28861a8baa15a716792a30 100644 (file)
@@ -170,14 +170,14 @@ typedef struct {
 #define devpriv ((cb_pcimdas_private *)dev->private)
 
 /*
- * The comedi_driver structure tells the Comedi core module
+ * The struct comedi_driver structure tells the Comedi core module
  * which functions to call to configure/deconfigure (attach/detach)
  * the board, and also about the kernel module that contains
  * the device code.
  */
 static int cb_pcimdas_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int cb_pcimdas_detach(struct comedi_device * dev);
-static comedi_driver driver_cb_pcimdas = {
+static struct comedi_driver driver_cb_pcimdas = {
       driver_name:"cb_pcimdas",
       module:THIS_MODULE,
       attach:cb_pcimdas_attach,
index 2b953c2e1959953736ae4b857c126b1240bf9b51..976b789c27e0cde21b01f7448fdba0adf19d5916 100644 (file)
@@ -176,14 +176,14 @@ typedef struct {
 #define devpriv ((private *)dev->private)
 
 /*
- * The comedi_driver structure tells the Comedi core module
+ * The struct comedi_driver structure tells the Comedi core module
  * which functions to call to configure/deconfigure (attach/detach)
  * the board, and also about the kernel module that contains
  * the device code.
  */
 static int attach(struct comedi_device * dev, comedi_devconfig * it);
 static int detach(struct comedi_device * dev);
-static comedi_driver cb_pcimdda_driver = {
+static struct comedi_driver cb_pcimdda_driver = {
       driver_name:"cb_pcimdda",
       module:THIS_MODULE,
       attach:attach,
index aa6892254f397fddfed19c63bd49de8db92022b5..deba16fb2fa8752e56874f7c99384ab4d2d54bc4 100644 (file)
@@ -59,7 +59,7 @@ Configuration Options:
  * Devices: a full list of the boards that attempt to be supported by
  *   the driver.  Format is "(manufacturer) board name [comedi name]",
  *   where comedi_name is the name that is used to configure the board.
- *   See the comment near board_name: in the comedi_driver structure
+ *   See the comment near board_name: in the struct comedi_driver structure
  *   below.  If (manufacturer) or [comedi name] is missing, the previous
  *   value is used.
  * Author: you
@@ -171,7 +171,7 @@ struct Private {
 #define devpriv ((struct Private *)dev->private)
 
 /*
- * The comedi_driver structure tells the Comedi core module
+ * The struct comedi_driver structure tells the Comedi core module
  * which functions to call to configure/deconfigure (attach/detach)
  * the board, and also about the kernel module that contains
  * the device code.
@@ -185,7 +185,7 @@ static void doDevUnconfig(struct comedi_device *dev);
  * what can I say?  I like to do wasteful memcopies.. :) */
 static void *Realloc(const void *ptr, size_t len, size_t old_len);
 
-static comedi_driver driver_bonding = {
+static struct comedi_driver driver_bonding = {
       .driver_name =   MODULE_NAME,
       .module =                THIS_MODULE,
       .attach =                bonding_attach,
index 50790b651cef82b035fda1a214874b2e1b6d1815..774a727228997390c8dd8bb0eacf139e2b6a0d6b 100644 (file)
@@ -92,7 +92,7 @@ pin, which can be used to wake up tasks.
 
 static int parport_attach(struct comedi_device *dev, comedi_devconfig *it);
 static int parport_detach(struct comedi_device *dev);
-static comedi_driver driver_parport = {
+static struct comedi_driver driver_parport = {
       .driver_name =   "comedi_parport",
       .module =                THIS_MODULE,
       .attach =                parport_attach,
index 93a43bdf3bcf221f51af15c02d43254422c9e156..1ba425fda31a196f1d555abf41df22c6646080a1 100644 (file)
@@ -128,7 +128,7 @@ static int timer_inttrig(struct comedi_device * dev, struct comedi_subdevice * s
        unsigned int trig_num);
 static int timer_start_cmd(struct comedi_device * dev, struct comedi_subdevice * s);
 
-static comedi_driver driver_timer = {
+static struct comedi_driver driver_timer = {
       module:THIS_MODULE,
       driver_name:"comedi_rt_timer",
       attach:timer_attach,
index f8baf83c588c5f2182ecb18abd647fd5723d8ac4..908dddcc5a45c36204e6911539d24b606427ae54 100644 (file)
@@ -95,7 +95,7 @@ struct waveform_private {
 
 static int waveform_attach(struct comedi_device *dev, comedi_devconfig *it);
 static int waveform_detach(struct comedi_device *dev);
-static comedi_driver driver_waveform = {
+static struct comedi_driver driver_waveform = {
       .driver_name =   "comedi_test",
       .module =                THIS_MODULE,
       .attach =                waveform_attach,
index 0b96859cc3bf5bb9f391324e3707af88cbfbe744..87303081f61607bcde90c604a1c71b22b9ae70e5 100644 (file)
@@ -77,7 +77,7 @@ typedef struct {
 
 static int contec_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int contec_detach(struct comedi_device * dev);
-static comedi_driver driver_contec = {
+static struct comedi_driver driver_contec = {
       driver_name:"contec_pci_dio",
       module:THIS_MODULE,
       attach:contec_attach,
index 9ef655eec40bf5de04073714a28df3f7311ae74c..378ec9471778797c2c6f815b939bd48fc5c9a9fe 100644 (file)
@@ -299,7 +299,7 @@ typedef struct daqboard2000_hw {
 static int daqboard2000_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int daqboard2000_detach(struct comedi_device * dev);
 
-static comedi_driver driver_daqboard2000 = {
+static struct comedi_driver driver_daqboard2000 = {
       driver_name:"daqboard2000",
       module:THIS_MODULE,
       attach:daqboard2000_attach,
index a0029dc7e3897b3ff6c8400b234c86a148c61aa3..e8d8d67d513a672c6d39def8b39b66f37683019e 100644 (file)
@@ -829,7 +829,7 @@ static int das08_counter_config(struct comedi_device * dev, struct comedi_subdev
 
 static int das08_attach(struct comedi_device * dev, comedi_devconfig * it);
 
-static comedi_driver driver_das08 = {
+static struct comedi_driver driver_das08 = {
       driver_name: DRV_NAME,
       module:THIS_MODULE,
       attach:das08_attach,
index 0e56f1d762de2262c6acc3d612970ca27737576b..310903a89e42a456f3877dd91647500b89944394 100644 (file)
@@ -58,7 +58,7 @@ static struct pcmcia_device *cur_dev = NULL;
 
 static int das08_cs_attach(struct comedi_device * dev, comedi_devconfig * it);
 
-static comedi_driver driver_das08_cs = {
+static struct comedi_driver driver_das08_cs = {
       driver_name:"das08_cs",
       module:THIS_MODULE,
       attach:das08_cs_attach,
index 7e51137fcf5c89466ac6e883cf0d805467961c82..a0998a2efd6257e1b27d8038e973fc5b2a89abe5 100644 (file)
@@ -700,7 +700,7 @@ static const struct das16_board_struct das16_boards[] = {
 
 static int das16_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int das16_detach(struct comedi_device * dev);
-static comedi_driver driver_das16 = {
+static struct comedi_driver driver_das16 = {
       driver_name:"das16",
       module:THIS_MODULE,
       attach:das16_attach,
index 48211a87961ecc9548fb1bcf34c4d7601d5665e6..d87fd21a3bb6caa6b737d5a806894c007e027216 100644 (file)
@@ -168,7 +168,7 @@ static const das16m1_board das16m1_boards[] = {
 
 static int das16m1_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int das16m1_detach(struct comedi_device * dev);
-static comedi_driver driver_das16m1 = {
+static struct comedi_driver driver_das16m1 = {
       driver_name:"das16m1",
       module:THIS_MODULE,
       attach:das16m1_attach,
index 47d92c70ca0ad7fdedb3239727a609ba46e78fdf..2bdb6a33dde48a5126033c4238d247401afbfa5c 100644 (file)
@@ -504,7 +504,7 @@ static const comedi_lrange range_ao_2 = {
 };
 */
 
-static comedi_driver driver_das1800 = {
+static struct comedi_driver driver_das1800 = {
       driver_name:"das1800",
       module:THIS_MODULE,
       attach:das1800_attach,
index 6c0a28cb712cc55a3c81dd5374b294f96b23e4b5..628e111608255bb35b2a1b761408f68a11304e1b 100644 (file)
@@ -100,7 +100,7 @@ This driver has suffered bitrot.
 
 static int das6402_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int das6402_detach(struct comedi_device * dev);
-static comedi_driver driver_das6402 = {
+static struct comedi_driver driver_das6402 = {
       driver_name:"das6402",
       module:THIS_MODULE,
       attach:das6402_attach,
index 92df82216f3ec12c67862009a7d518f069d3ffd5..83422936021f090c9f8cce5a3a80d8be469e5376 100644 (file)
@@ -246,7 +246,7 @@ static int das800_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int das800_detach(struct comedi_device * dev);
 static int das800_cancel(struct comedi_device * dev, struct comedi_subdevice * s);
 
-static comedi_driver driver_das800 = {
+static struct comedi_driver driver_das800 = {
       driver_name:"das800",
       module:THIS_MODULE,
       attach:das800_attach,
index d710dd652053de36ff3fc2128a19c0357b4e29ae..68c18fff53693cdc9e36f0d4d264663913a6606c 100644 (file)
@@ -46,7 +46,7 @@ Configuration Options:
  * Devices: a full list of the boards that attempt to be supported by
  *   the driver.  Format is "(manufacturer) board name [comedi name]",
  *   where comedi_name is the name that is used to configure the board.
- *   See the comment near board_name: in the comedi_driver structure
+ *   See the comment near board_name: in the struct comedi_driver structure
  *   below.  If (manufacturer) or [comedi name] is missing, the previous
  *   value is used.
  * Author: you
@@ -253,14 +253,14 @@ typedef struct {
 #define devpriv ((dmm32at_private *)dev->private)
 
 /*
- * The comedi_driver structure tells the Comedi core module
+ * The struct comedi_driver structure tells the Comedi core module
  * which functions to call to configure/deconfigure (attach/detach)
  * the board, and also about the kernel module that contains
  * the device code.
  */
 static int dmm32at_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int dmm32at_detach(struct comedi_device * dev);
-static comedi_driver driver_dmm32at = {
+static struct comedi_driver driver_dmm32at = {
       driver_name:"dmm32at",
       module:THIS_MODULE,
       attach:dmm32at_attach,
index 1f6e4bfa8cd22d006f4aa0988beb9b4c1ee9fe5e..944489791da8ba1018cbfd64bb08b9f04be7b25f 100644 (file)
@@ -90,7 +90,7 @@ Configuration options:
 
 static int dt2801_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int dt2801_detach(struct comedi_device * dev);
-static comedi_driver driver_dt2801 = {
+static struct comedi_driver driver_dt2801 = {
       driver_name:"dt2801",
       module:THIS_MODULE,
       attach:dt2801_attach,
index ca2e83f3630f5c0667ba444cb15d2a67b39edbb6..8190ae15878ae3937d759ada5f88a64a046cece9 100644 (file)
@@ -214,7 +214,7 @@ static const boardtype boardtypes[] = {
 
 static int dt2811_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int dt2811_detach(struct comedi_device * dev);
-static comedi_driver driver_dt2811 = {
+static struct comedi_driver driver_dt2811 = {
       driver_name:"dt2811",
       module:THIS_MODULE,
       attach:dt2811_attach,
index f886d1c376edc2d3aa94983ddd2adbd990ff1871..eb46d0f5e0dba6bc6b86de3107471adfaefbe55b 100644 (file)
@@ -61,7 +61,7 @@ addition, the clock does not seem to be very accurate.
 
 static int dt2814_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int dt2814_detach(struct comedi_device * dev);
-static comedi_driver driver_dt2814 = {
+static struct comedi_driver driver_dt2814 = {
       driver_name:"dt2814",
       module:THIS_MODULE,
       attach:dt2814_attach,
index 75b89430be8c45a7a7d26538066251042692eea4..0f45cadca370a36a378b7d9017858b73a65c6487 100644 (file)
@@ -77,7 +77,7 @@ static const comedi_lrange range_dt2815_ao_20_current = { 1, {
 
 static int dt2815_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int dt2815_detach(struct comedi_device * dev);
-static comedi_driver driver_dt2815 = {
+static struct comedi_driver driver_dt2815 = {
       driver_name:"dt2815",
       module:THIS_MODULE,
       attach:dt2815_attach,
index 5e012856a58eb538334129c0dd485f89ddf7fa9a..203c6b3e8cbf225a5238049c5574cf697740c707 100644 (file)
@@ -49,7 +49,7 @@ Configuration options:
 
 static int dt2817_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int dt2817_detach(struct comedi_device * dev);
-static comedi_driver driver_dt2817 = {
+static struct comedi_driver driver_dt2817 = {
       driver_name:"dt2817",
       module:THIS_MODULE,
       attach:dt2817_attach,
index 5da648d2399b7fb9da5d3a032fa12cf08b4c6c9e..bed21029871bd20eaa19614be515dc06d18fe874 100644 (file)
@@ -396,7 +396,7 @@ typedef struct {
 
 static int dt282x_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int dt282x_detach(struct comedi_device * dev);
-static comedi_driver driver_dt282x = {
+static struct comedi_driver driver_dt282x = {
       driver_name:"dt282x",
       module:THIS_MODULE,
       attach:dt282x_attach,
index add9b11fa157909914624335dc92f5c6e7ae8c79..0e29d7f8c71c4ab2623db42cf8fc26db347bc8d9 100644 (file)
@@ -273,7 +273,7 @@ typedef struct {
 
 static int dt3000_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int dt3000_detach(struct comedi_device * dev);
-static comedi_driver driver_dt3000 = {
+static struct comedi_driver driver_dt3000 = {
       driver_name:"dt3000",
       module:THIS_MODULE,
       attach:dt3000_attach,
index 3dd357336fa74d6214421d447828d5ed5202aa77..e304a614a97ea13ca4553d6e7ede441bc08e7cae 100644 (file)
@@ -1108,7 +1108,7 @@ static int dt9812_detach(struct comedi_device *dev)
        return 0;
 }
 
-static comedi_driver dt9812_comedi_driver = {
+static struct comedi_driver dt9812_comedi_driver = {
        .module = THIS_MODULE,
        .driver_name = "dt9812",
        .attach = dt9812_attach,
index 54f2c2a6c51c6c93323ebb17b277031402f6dab3..a2f4db9aa4adb097d6b294b3badd653173922806 100644 (file)
@@ -43,7 +43,7 @@ static const comedi_lrange range_fl512 = { 4, {
 static int fl512_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int fl512_detach(struct comedi_device * dev);
 
-static comedi_driver driver_fl512 = {
+static struct comedi_driver driver_fl512 = {
       driver_name:"fl512",
       module:THIS_MODULE,
       attach:fl512_attach,
index aefee40710c15cd2a0853a855b151aa6763b6124..ccc010f40d479590a7e9f9a72c9bb130e06acadb 100644 (file)
@@ -327,7 +327,7 @@ static inline hpdi_private *priv(struct comedi_device * dev)
        return dev->private;
 }
 
-static comedi_driver driver_hpdi = {
+static struct comedi_driver driver_hpdi = {
       driver_name:"gsc_hpdi",
       module:THIS_MODULE,
       attach:hpdi_attach,
index ee17c6ce838c2fd59a387d1e09d2a382843ec2d9..b30318172b283342b8f11493bade2debb2d182a4 100644 (file)
@@ -173,7 +173,7 @@ static const struct boardtype boardtypes[] = {
 
 #define n_boardtypes (sizeof(boardtypes)/sizeof(struct boardtype))
 
-static comedi_driver driver_icp_multi = {
+static struct comedi_driver driver_icp_multi = {
       driver_name:"icp_multi",
       module : THIS_MODULE,
       attach : icp_multi_attach,
index df21bf255d020c67275f441d988c811842432f23..e1376a173f33648d754296266963a58e8ae8cb86 100644 (file)
@@ -159,7 +159,7 @@ typedef struct {
 static int pci20xxx_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int pci20xxx_detach(struct comedi_device * dev);
 
-static comedi_driver driver_pci20xxx = {
+static struct comedi_driver driver_pci20xxx = {
       driver_name:"ii_pci20kc",
       module:THIS_MODULE,
       attach:pci20xxx_attach,
index 44b5c4ff3648f70dc66c2ed4c018654ed5d4bc0b..f256b9981c32b519e9c6e65d2776ec7249da5810 100644 (file)
@@ -106,7 +106,7 @@ static int comedi_load_firmware(struct comedi_device * dev,
 static int jr3_pci_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int jr3_pci_detach(struct comedi_device * dev);
 
-static comedi_driver driver_jr3_pci = {
+static struct comedi_driver driver_jr3_pci = {
       driver_name:"jr3_pci",
       module:THIS_MODULE,
       attach:jr3_pci_attach,
index 08f09ac19d70790d7b4f47a977a51f738fe20143..5ee1cf51aa13ab7ca043f8d3dad1766343c7d797 100644 (file)
@@ -86,7 +86,7 @@ typedef struct {
 
 #define devpriv ((cnt_device_private *)dev->private)
 
-static comedi_driver cnt_driver = {
+static struct comedi_driver cnt_driver = {
       driver_name:CNT_DRIVER_NAME,
       module:THIS_MODULE,
       attach:cnt_attach,
index 17de86a3988c590a03e25902c0fee1584e0390b7..095da3f1315de60bd0331264e2b319814f532f9d 100644 (file)
@@ -120,7 +120,7 @@ static const me4000_board_t me4000_boards[] = {
   ---------------------------------------------------------------------------*/
 static int me4000_attach(struct comedi_device *dev, comedi_devconfig *it);
 static int me4000_detach(struct comedi_device *dev);
-static comedi_driver driver_me4000 = {
+static struct comedi_driver driver_me4000 = {
       driver_name:"me4000",
       module : THIS_MODULE,
       attach : me4000_attach,
index 084b903d0cd66d4204c8ca2e3e3c61151a1836b8..e47a954f189ec9d855e50bf6c5425882713db98d 100644 (file)
@@ -246,7 +246,8 @@ static const struct me_board me_boards[] = {
 
 #define me_board_nbr (sizeof(me_boards)/sizeof(struct me_board))
 
-static comedi_driver me_driver = {
+
+static struct comedi_driver me_driver = {
       .driver_name =   ME_DRIVER_NAME,
       .module =                THIS_MODULE,
       .attach =                me_attach,
index 2a30dda24bc44b8982e4b71bca53045d34070ad7..9b9c8c038dbda3b087093b696fab2f3e02004b1a 100644 (file)
@@ -147,7 +147,7 @@ static const comedi_lrange range_mpc624_bipolar10 = {
 static int mpc624_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int mpc624_detach(struct comedi_device * dev);
 //----------------------------------------------------------------------------
-static comedi_driver driver_mpc624 = {
+static struct comedi_driver driver_mpc624 = {
       driver_name:"mpc624",
       module:THIS_MODULE,
       attach:mpc624_attach,
index 40057a0b8f971bf6825793ed7e8dacbbe0c2683f..9588f2652d226e34413f844bd340e9e56bdb0eca 100644 (file)
@@ -46,7 +46,7 @@ typedef struct {
 
 static int mpc8260cpm_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int mpc8260cpm_detach(struct comedi_device * dev);
-static comedi_driver driver_mpc8260cpm = {
+static struct comedi_driver driver_mpc8260cpm = {
       driver_name:"mpc8260cpm",
       module:THIS_MODULE,
       attach:mpc8260cpm_attach,
index 151d6d4bdde43b1c49942c236a6455705646936f..186676e5f86d7bd27a32858eba0caa14c31c5aa5 100644 (file)
@@ -84,7 +84,7 @@ Devices: [Quanser Consulting] MultiQ-3 (multiq3)
 
 static int multiq3_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int multiq3_detach(struct comedi_device * dev);
-static comedi_driver driver_multiq3 = {
+static struct comedi_driver driver_multiq3 = {
       driver_name:"multiq3",
       module:THIS_MODULE,
       attach:multiq3_attach,
index 4535888132936a9075ad0a43d11651c222aea7c9..7879f867582041df18f422363ff48628306dc4c5 100644 (file)
@@ -77,7 +77,7 @@ Updated: Sat, 25 Jan 2003 13:24:40 -0800
 
 static int ni6527_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int ni6527_detach(struct comedi_device * dev);
-static comedi_driver driver_ni6527 = {
+static struct comedi_driver driver_ni6527 = {
       driver_name:"ni6527",
       module:THIS_MODULE,
       attach:ni6527_attach,
index c12dcb6cae60f67b0c59d826da86f33f76118ad2..b89543115c27eecc835e413dfd6b09f0e38f226d 100644 (file)
@@ -104,7 +104,7 @@ static inline unsigned Filter_Enable(unsigned port)
 
 static int ni_65xx_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int ni_65xx_detach(struct comedi_device * dev);
-static comedi_driver driver_ni_65xx = {
+static struct comedi_driver driver_ni_65xx = {
       driver_name:"ni_65xx",
       module:THIS_MODULE,
       attach:ni_65xx_attach,
index 3304472d0a76980e58528a9c9a476e8d30898d2b..469f9553f034c687f841e48817418733d6eefed2 100644 (file)
@@ -450,7 +450,7 @@ static void init_tio_chip(struct comedi_device * dev, int chipset);
 static void ni_660x_select_pfi_output(struct comedi_device * dev, unsigned pfi_channel,
        unsigned output_select);
 
-static comedi_driver driver_ni_660x = {
+static struct comedi_driver driver_ni_660x = {
       driver_name:"ni_660x",
       module:THIS_MODULE,
       attach:ni_660x_attach,
index 0bcbfd1cd5ba897c6abc93aaa1939b1593261559..7dbbfdcb19737687acf146b88533aaa97008fc59 100644 (file)
@@ -111,7 +111,7 @@ typedef struct {
 static int ni_670x_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int ni_670x_detach(struct comedi_device * dev);
 
-static comedi_driver driver_ni_670x = {
+static struct comedi_driver driver_ni_670x = {
       driver_name:"ni_670x",
       module:THIS_MODULE,
       attach:ni_670x_attach,
index c15568d3cd46e5c0f681f5e945f28b254751f652..87edc61f6a4ec8b5348d68bc92edcd88c7394790 100644 (file)
@@ -171,7 +171,7 @@ static int a2150_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int a2150_detach(struct comedi_device * dev);
 static int a2150_cancel(struct comedi_device * dev, struct comedi_subdevice * s);
 
-static comedi_driver driver_a2150 = {
+static struct comedi_driver driver_a2150 = {
       driver_name:"ni_at_a2150",
       module:THIS_MODULE,
       attach:a2150_attach,
index e5083a2111c309bf2d1c501063a8b72b1bd26e06..2176bb2d743dbd353babc626882cd62bc34a3838 100644 (file)
@@ -180,7 +180,7 @@ typedef struct {
 
 static int atao_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int atao_detach(struct comedi_device * dev);
-static comedi_driver driver_atao = {
+static struct comedi_driver driver_atao = {
       driver_name:"ni_at_ao",
       module:THIS_MODULE,
       attach:atao_attach,
index 0e30050b91e6f4c0ab6bdab277fd9a80b87f7f10..d5baaa1ca3ffbdbd324aa329c45405b6cd0451d7 100644 (file)
@@ -340,7 +340,7 @@ MODULE_DEVICE_TABLE(pnp, device_ids);
 
 static int ni_atmio_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int ni_atmio_detach(struct comedi_device * dev);
-static comedi_driver driver_atmio = {
+static struct comedi_driver driver_atmio = {
       driver_name:"ni_atmio",
       module:THIS_MODULE,
       attach:ni_atmio_attach,
index 9c59c51863fe604fdd88b2b31ab6b0342182e17a..592922aad85c2b424e54444b88d56981eb2b4ea0 100644 (file)
@@ -134,7 +134,7 @@ static void reset_counters(struct comedi_device * dev);
 static void reset_atmio16d(struct comedi_device * dev);
 
 /* main driver struct */
-static comedi_driver driver_atmio16d = {
+static struct comedi_driver driver_atmio16d = {
       driver_name:"atmio16",
       module:THIS_MODULE,
       attach:atmio16d_attach,
index 8a0a5fa50eee625d1a56a2668c7b81aa6e9ee4e3..ea906a7fef14bd34d1a2a1d7c443905bfbad80ce 100644 (file)
@@ -97,7 +97,7 @@ typedef struct {
 
 #define devpriv ((dio700_private *)dev->private)
 
-static comedi_driver driver_dio700 = {
+static struct comedi_driver driver_dio700 = {
       driver_name:"ni_daq_700",
       module:THIS_MODULE,
       attach:dio700_attach,
index f2c73a4af0685702890ddd5d62c707e3bbcb81f4..5783a8f5773061562e7a9999ad68e95d821ab44c 100644 (file)
@@ -97,7 +97,7 @@ typedef struct {
 
 #define devpriv ((dio24_private *)dev->private)
 
-static comedi_driver driver_dio24 = {
+static struct comedi_driver driver_dio24 = {
       driver_name:"ni_daq_dio24",
       module:THIS_MODULE,
       attach:dio24_attach,
index 6ba97da42defa2050da57e2252d89e23c1c4a096..e1326a35e78c81387af0f9fe54594c21b60a35f2 100644 (file)
@@ -429,7 +429,7 @@ static const int sample_size = 2;   // 2 bytes per sample
 
 #define devpriv ((labpc_private *)dev->private)
 
-static comedi_driver driver_labpc = {
+static struct comedi_driver driver_labpc = {
        .driver_name = DRV_NAME,
        .module = THIS_MODULE,
        .attach = labpc_attach,
index f41d39b75df9f9a9ae5a9b3ed68da3f8d11405ae..f94cde904dd7b36bf54223879a5caef7936b831c 100644 (file)
@@ -116,7 +116,7 @@ static const labpc_board labpc_cs_boards[] = {
  */
 #define thisboard ((const labpc_board *)dev->board_ptr)
 
-static comedi_driver driver_labpc_cs = {
+static struct comedi_driver driver_labpc_cs = {
        .driver_name = "ni_labpc_cs",
        .module = THIS_MODULE,
        .attach = &labpc_attach,
index 4891bc2805f8f419aaf7aa9ac01990fb4dcea5ea..c3dad5937e05b51ede8b927302c8bcf6223084f7 100644 (file)
@@ -227,7 +227,7 @@ static uint16_t mio_cs_win_in(struct comedi_device * dev, int addr)
 
 static int mio_cs_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int mio_cs_detach(struct comedi_device * dev);
-static comedi_driver driver_ni_mio_cs = {
+static struct comedi_driver driver_ni_mio_cs = {
       driver_name:"ni_mio_cs",
       module:THIS_MODULE,
       attach:mio_cs_attach,
index d75939bcca174f85e46418b2e5137c6e4d9b3a36..5b0f2b61b1eeb6143b18f503d734ecf3af50fb26 100644 (file)
@@ -291,7 +291,7 @@ static int nidio_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int nidio_detach(struct comedi_device * dev);
 static int ni_pcidio_cancel(struct comedi_device * dev, struct comedi_subdevice * s);
 
-static comedi_driver driver_pcidio = {
+static struct comedi_driver driver_pcidio = {
       driver_name:"ni_pcidio",
       module:THIS_MODULE,
       attach:nidio_attach,
index 105dab0758f19b1e8ff8cfb9760d2dc24ac88b2f..173d0a57245a5d2aaea73a409b0b96e286104049 100644 (file)
@@ -1209,7 +1209,7 @@ static const ni_board ni_boards[] = {
 
 static int pcimio_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int pcimio_detach(struct comedi_device * dev);
-static comedi_driver driver_pcimio = {
+static struct comedi_driver driver_pcimio = {
        driver_name: DRV_NAME,
        module:THIS_MODULE,
        attach:pcimio_attach,
index 4261fcc85adfd8959cd725476be3cbfc732fa848..e2f73ca1aa15e02f80bc5e5f4c1342cd5c6ef59a 100644 (file)
@@ -156,7 +156,7 @@ static const boardtype boardtypes[] = {
 
 static int pcl711_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int pcl711_detach(struct comedi_device * dev);
-static comedi_driver driver_pcl711 = {
+static struct comedi_driver driver_pcl711 = {
       driver_name:"pcl711",
       module:THIS_MODULE,
       attach:pcl711_attach,
index a65bcfb1043bed3df7857e53597c37097a7f054a..b9af0c045e7cdb0d075869272a7e884c476f5d6c 100644 (file)
@@ -81,7 +81,7 @@ static const boardtype boardtypes[] = {
 #define n_boardtypes (sizeof(boardtypes)/sizeof(boardtype))
 #define this_board ((const boardtype *)dev->board_ptr)
 
-static comedi_driver driver_pcl724 = {
+static struct comedi_driver driver_pcl724 = {
       driver_name:"pcl724",
       module:THIS_MODULE,
       attach:pcl724_attach,
index a2ea3e154bb2561c91d7622d163315f483e7a4d3..570193598d98dc4e13d606edbce714e70ec9f305 100644 (file)
@@ -22,7 +22,7 @@ Devices: [Advantech] PCL-725 (pcl725)
 
 static int pcl725_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int pcl725_detach(struct comedi_device * dev);
-static comedi_driver driver_pcl725 = {
+static struct comedi_driver driver_pcl725 = {
       driver_name:"pcl725",
       module:THIS_MODULE,
       attach:pcl725_attach,
index 23e98550c58bfb3ebdb71f96fd33f4e02b774a0e..f63b60f6f7d4b58cfe3f3654f46d99e0ced94451 100644 (file)
@@ -149,7 +149,7 @@ static const boardtype boardtypes[] = {
 #define n_boardtypes (sizeof(boardtypes)/sizeof(boardtype))
 #define this_board ((const boardtype *)dev->board_ptr)
 
-static comedi_driver driver_pcl726 = {
+static struct comedi_driver driver_pcl726 = {
       driver_name:"pcl726",
       module:THIS_MODULE,
       attach:pcl726_attach,
index 974f96cfcf454cdd2ebe247bc72fed430af1d415..63b4a35159a8351608873b7b40b576ef8bceabdd 100644 (file)
@@ -43,7 +43,7 @@ static const boardtype boardtypes[] = {
 #define n_boardtypes (sizeof(boardtypes)/sizeof(boardtype))
 #define this_board ((const boardtype *)dev->board_ptr)
 
-static comedi_driver driver_pcl730 = {
+static struct comedi_driver driver_pcl730 = {
       driver_name:"pcl730",
       module:THIS_MODULE,
       attach:pcl730_attach,
index b678dd6dd73f40f26ba754f091d352f4f52327ba..a44f1fb3af5434aeb5b6ad76c371608779b89630 100644 (file)
@@ -374,7 +374,7 @@ static const boardtype boardtypes[] = {
 #define n_boardtypes (sizeof(boardtypes)/sizeof(boardtype))
 #define this_board ((const boardtype *)dev->board_ptr)
 
-static comedi_driver driver_pcl812 = {
+static struct comedi_driver driver_pcl812 = {
       driver_name:"pcl812",
       module:THIS_MODULE,
       attach:pcl812_attach,
index f1282c68d7efc43794b9217cd974fac8e8069e10..c5a969898c120bf05c41e32f03cfce2282f1cd98 100644 (file)
@@ -154,7 +154,7 @@ static int RTC_lock = 0;    /* RTC lock */
 static int RTC_timer_lock = 0; /* RTC int lock */
 #endif
 
-static comedi_driver driver_pcl816 = {
+static struct comedi_driver driver_pcl816 = {
       driver_name:"pcl816",
       module:THIS_MODULE,
       attach:pcl816_attach,
index d202022c1be6ed3d8d956cefd5f607e68df86ed8..afe326e7d98c14ac92c465755fbc3711c97d6017 100644 (file)
@@ -299,7 +299,7 @@ static const boardtype boardtypes[] = {
 
 #define n_boardtypes (sizeof(boardtypes)/sizeof(boardtype))
 
-static comedi_driver driver_pcl818 = {
+static struct comedi_driver driver_pcl818 = {
       driver_name:"pcl818",
       module:THIS_MODULE,
       attach:pcl818_attach,
index dedf92c6a1496a24d61d04bde1fab5a79b72aef9..5d965466f0f22ab14bac6e86c0c2fa7fd0690849 100644 (file)
@@ -85,7 +85,7 @@ static const boardtype boardtypes[] = {
 #define n_boardtypes (sizeof(boardtypes)/sizeof(boardtype))
 #define this_board ((const boardtype *)dev->board_ptr)
 
-static comedi_driver driver_pcm3724 = {
+static struct comedi_driver driver_pcm3724 = {
       driver_name:"pcm3724",
       module:THIS_MODULE,
       attach:pcm3724_attach,
index e89b3c7ea550c82bf3b635d4ba76068b9e9be618..b505a015be06a6a37d868e594f5ea5206841c48a 100644 (file)
@@ -30,7 +30,7 @@ Configuration options:
 
 static int pcm3730_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int pcm3730_detach(struct comedi_device * dev);
-static comedi_driver driver_pcm3730 = {
+static struct comedi_driver driver_pcm3730 = {
       driver_name:"pcm3730",
       module:THIS_MODULE,
       attach:pcm3730_attach,
index 5cb0e59cb21626f289eedacaade36dcc4d5b90d5..b129a473587bf331df9d5cf100d22df5c5b927e6 100644 (file)
@@ -78,7 +78,7 @@ struct pcmad_priv_struct {
 
 static int pcmad_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int pcmad_detach(struct comedi_device * dev);
-static comedi_driver driver_pcmad = {
+static struct comedi_driver driver_pcmad = {
       driver_name:"pcmad",
       module:THIS_MODULE,
       attach:pcmad_attach,
index 32cfc35daee2ed339e48d523ea20a54cfe2b515d..a2dfb4bf65f812c2e143d2a5848c157865f2de74 100644 (file)
@@ -100,7 +100,7 @@ typedef struct {
 #define devpriv ((pcmda12_private *)(dev->private))
 
 /*
- * The comedi_driver structure tells the Comedi core module
+ * The struct comedi_driver structure tells the Comedi core module
  * which functions to call to configure/deconfigure (attach/detach)
  * the board, and also about the kernel module that contains
  * the device code.
@@ -110,7 +110,7 @@ static int pcmda12_detach(struct comedi_device * dev);
 
 static void zero_chans(struct comedi_device * dev);
 
-static comedi_driver driver = {
+static struct comedi_driver driver = {
       driver_name:"pcmda12",
       module:THIS_MODULE,
       attach:pcmda12_attach,
index 6af8637880c0de0e0858bd0c1514df856d908217..0dcc09982fa6caac4ad12f33bd2790593965b03c 100644 (file)
@@ -259,7 +259,7 @@ typedef struct {
 #define devpriv ((pcmmio_private *)dev->private)
 #define subpriv ((pcmmio_subdev_private *)s->private)
 /*
- * The comedi_driver structure tells the Comedi core module
+ * The struct comedi_driver structure tells the Comedi core module
  * which functions to call to configure/deconfigure (attach/detach)
  * the board, and also about the kernel module that contains
  * the device code.
@@ -267,7 +267,7 @@ typedef struct {
 static int pcmmio_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int pcmmio_detach(struct comedi_device * dev);
 
-static comedi_driver driver = {
+static struct comedi_driver driver = {
       driver_name:"pcmmio",
       module:THIS_MODULE,
       attach:pcmmio_attach,
index 6dc42eb047d30cc17e5411ef56dd3259a81944ee..7204084073f01e0b2eddee64d2b9702e05e4cff4 100644 (file)
@@ -217,7 +217,7 @@ typedef struct {
 #define devpriv ((pcmuio_private *)dev->private)
 #define subpriv ((pcmuio_subdev_private *)s->private)
 /*
- * The comedi_driver structure tells the Comedi core module
+ * The struct comedi_driver structure tells the Comedi core module
  * which functions to call to configure/deconfigure (attach/detach)
  * the board, and also about the kernel module that contains
  * the device code.
@@ -225,7 +225,7 @@ typedef struct {
 static int pcmuio_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int pcmuio_detach(struct comedi_device * dev);
 
-static comedi_driver driver = {
+static struct comedi_driver driver = {
       driver_name:"pcmuio",
       module:THIS_MODULE,
       attach:pcmuio_attach,
index 5fc566f4aaa3502ce9e653f34da97779df1059a8..dde46b1263125aadc6299f06f1c54fd23a036e72 100644 (file)
@@ -103,7 +103,7 @@ static const struct boarddef_struct boards[] = {
 #define n_boards (sizeof(boards)/sizeof(boards[0]))
 #define this_board ((const struct boarddef_struct *)dev->board_ptr)
 
-static comedi_driver driver_poc = {
+static struct comedi_driver driver_poc = {
       driver_name:"poc",
       module:THIS_MODULE,
       attach:poc_attach,
index a3bfa6465b569ce8726944be7237eb0a200aebbc..c30b1ccb2903119b3fde093ac8356c0597b75ccc 100644 (file)
@@ -199,7 +199,7 @@ static const comedi_lrange range_daqp_ao = { 1, {BIP_RANGE(5)} };
 
 static int daqp_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int daqp_detach(struct comedi_device * dev);
-static comedi_driver driver_daqp = {
+static struct comedi_driver driver_daqp = {
       driver_name:"quatech_daqp_cs",
       module:THIS_MODULE,
       attach:daqp_attach,
index 405c2040a88151118cb626856fc4cfea34e6285e..c238f5b97d854a5a2370a9ae9a318581819023b1 100644 (file)
@@ -675,7 +675,7 @@ struct rtdPrivate {
     readb (devpriv->lcfg+LCFG_DMACSR1)
 
 /*
- * The comedi_driver structure tells the Comedi core module
+ * The struct comedi_driver structure tells the Comedi core module
  * which functions to call to configure/deconfigure (attac/detach)
  * the board, and also about the kernel module that contains
  * the device code.
@@ -683,7 +683,7 @@ struct rtdPrivate {
 static int rtd_attach(struct comedi_device *dev, comedi_devconfig *it);
 static int rtd_detach(struct comedi_device *dev);
 
-static comedi_driver rtd520Driver = {
+static struct comedi_driver rtd520Driver = {
       driver_name: DRV_NAME,
       module : THIS_MODULE,
       attach : rtd_attach,
index 3525813b9bf3b468441f51b4bb89c0392a80442d..0d2e9ff4f4f667946b50212b0aafb245ce5267ee 100644 (file)
@@ -131,7 +131,7 @@ static const boardtype boardtypes[] = {
 
 static int rti800_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int rti800_detach(struct comedi_device * dev);
-static comedi_driver driver_rti800 = {
+static struct comedi_driver driver_rti800 = {
       driver_name:"rti800",
       module:THIS_MODULE,
       attach:rti800_attach,
index 0985c858cb2f0c8e10fb0d5c466ce130b95527bc..0d2d1c310d03e981b03986fa8a819382e9522fdd 100644 (file)
@@ -49,7 +49,7 @@ Configuration Options:
 
 static int rti802_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int rti802_detach(struct comedi_device * dev);
-static comedi_driver driver_rti802 = {
+static struct comedi_driver driver_rti802 = {
       driver_name:"rti802",
       module:THIS_MODULE,
       attach:rti802_attach,
index 51ff5a7e56396918a1088f5b58a237d5f36c00cb..d3881498e164ea2b074da94e88ae624bef035fdb 100644 (file)
@@ -210,14 +210,14 @@ typedef struct {
 #define devpriv ((s526_private *)dev->private)
 
 /*
- * The comedi_driver structure tells the Comedi core module
+ * The struct comedi_driver structure tells the Comedi core module
  * which functions to call to configure/deconfigure (attach/detach)
  * the board, and also about the kernel module that contains
  * the device code.
  */
 static int s526_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int s526_detach(struct comedi_device * dev);
-static comedi_driver driver_s526 = {
+static struct comedi_driver driver_s526 = {
       driver_name:"s526",
       module:THIS_MODULE,
       attach:s526_attach,
index 4bba963cd537f797b823634c7f8f1e169233a5e6..ac6424ca25dae778a50d569f1e4f677d3144bba4 100644 (file)
@@ -121,7 +121,7 @@ MODULE_DEVICE_TABLE(pci, s626_pci_table);
 static int s626_attach(struct comedi_device *dev, comedi_devconfig *it);
 static int s626_detach(struct comedi_device *dev);
 
-static comedi_driver driver_s626 = {
+static struct comedi_driver driver_s626 = {
       driver_name:"s626",
       module : THIS_MODULE,
       attach : s626_attach,
index c23a4322c1a852d03a28466e40dcd176b7b0fc6f..7c056a328c0d76b30679d98dc545a90d40b1e85c 100644 (file)
@@ -87,7 +87,7 @@ typedef struct {
 
 static int serial2002_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int serial2002_detach(struct comedi_device * dev);
-comedi_driver driver_serial2002 = {
+struct comedi_driver driver_serial2002 = {
       driver_name:"serial2002",
       module:THIS_MODULE,
       attach:serial2002_attach,
index 13b14454f59ad3690ec20ee14c23fc82d53bec56..5dda0cd6c99098fe7076d56227144df744c52652 100644 (file)
@@ -44,7 +44,7 @@ Configuration Options:
  * Devices: a full list of the boards that attempt to be supported by
  *   the driver.  Format is "(manufacturer) board name [comedi name]",
  *   where comedi_name is the name that is used to configure the board.
- *   See the comment near board_name: in the comedi_driver structure
+ *   See the comment near board_name: in the struct comedi_driver structure
  *   below.  If (manufacturer) or [comedi name] is missing, the previous
  *   value is used.
  * Author: you
@@ -146,14 +146,14 @@ typedef struct {
 #define devpriv ((skel_private *)dev->private)
 
 /*
- * The comedi_driver structure tells the Comedi core module
+ * The struct comedi_driver structure tells the Comedi core module
  * which functions to call to configure/deconfigure (attach/detach)
  * the board, and also about the kernel module that contains
  * the device code.
  */
 static int skel_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int skel_detach(struct comedi_device * dev);
-static comedi_driver driver_skel = {
+static struct comedi_driver driver_skel = {
       driver_name:"dummy",
       module:THIS_MODULE,
       attach:skel_attach,
index db31c2066aec121486a860a1778a6b6dc8f648a9..a5fda67f4a6a49a0a8f01afd427602abd309ac71 100644 (file)
@@ -80,7 +80,7 @@ typedef struct {
 #define devpriv ((dnp_private *)dev->private)
 
 /* ------------------------------------------------------------------------- */
-/* The comedi_driver structure tells the Comedi core module which functions  */
+/* The struct comedi_driver structure tells the Comedi core module which functions  */
 /* to call to configure/deconfigure (attach/detach) the board, and also      */
 /* about the kernel module that contains the device code.                    */
 /*                                                                           */
@@ -90,7 +90,7 @@ typedef struct {
 static int dnp_attach(struct comedi_device * dev, comedi_devconfig * it);
 static int dnp_detach(struct comedi_device * dev);
 
-static comedi_driver driver_dnp = {
+static struct comedi_driver driver_dnp = {
       driver_name:"ssv_dnp",
       module:THIS_MODULE,
       attach:dnp_attach,
index 34c44718b522a1a3d0537c865bdb233ebe09a746..bc5511d03ceda70e5df817ce000d42f8e4a82b27 100644 (file)
@@ -102,7 +102,7 @@ static int __unioxx5_analog_read(unioxx5_subd_priv * usp, unsigned int * data,
 static int __unioxx5_define_chan_offset(int chan_num);
 static void __unioxx5_analog_config(unioxx5_subd_priv * usp, int channel);
 
-static comedi_driver unioxx5_driver = {
+static struct comedi_driver unioxx5_driver = {
       driver_name:DRIVER_NAME,
       module:THIS_MODULE,
       attach:unioxx5_attach,
index 41872a3a68b2086042c8cf9839cbd191cf376a72..e3462c4a5a654adcca20fc34e8e78ae8fd50f975 100644 (file)
@@ -2903,7 +2903,7 @@ static int usbdux_detach(struct comedi_device *dev)
 }
 
 /* main driver struct */
-static comedi_driver driver_usbdux = {
+static struct comedi_driver driver_usbdux = {
       .driver_name =   "usbdux",
       .module =                THIS_MODULE,
       .attach =                usbdux_attach,
index e141484f11aea9552bbe0fc89a9af1a11c7fae91..54b49580505accb3bd3a8e2b586f3ca4557ab26d 100644 (file)
@@ -1856,7 +1856,7 @@ static int usbduxfast_detach(struct comedi_device *dev)
 /*
  * main driver struct
  */
-static comedi_driver driver_usbduxfast = {
+static struct comedi_driver driver_usbduxfast = {
        .driver_name    = "usbduxfast",
        .module         = THIS_MODULE,
        .attach         = usbduxfast_attach,
index bb208f852a00113b547da1479cd3ce967cb785a2..36ae2cd92ad9f1bc5f34faa4bcd5a45f7e7c7bf1 100644 (file)
@@ -36,7 +36,7 @@
 int comedi_read_procmem(char *buf, char **start, off_t offset, int len,
        int *eof, void *data);
 
-extern comedi_driver *comedi_drivers;
+extern struct comedi_driver *comedi_drivers;
 
 int comedi_read_procmem(char *buf, char **start, off_t offset, int len,
        int *eof, void *data)
@@ -44,7 +44,7 @@ int comedi_read_procmem(char *buf, char **start, off_t offset, int len,
        int i;
        int devices_q = 0;
        int l = 0;
-       comedi_driver *driv;
+       struct comedi_driver *driv;
 
        l += sprintf(buf + l,
                "comedi version " COMEDI_RELEASE "\n"
This page took 0.116027 seconds and 5 git commands to generate.