/* ioctls */
 
 #define CIO 'd'
-#define COMEDI_DEVCONFIG _IOW(CIO, 0, comedi_devconfig)
+#define COMEDI_DEVCONFIG _IOW(CIO, 0, struct comedi_devconfig)
 #define COMEDI_DEVINFO _IOR(CIO, 1, struct comedi_devinfo)
 #define COMEDI_SUBDINFO _IOR(CIO, 2, struct comedi_subdinfo)
 #define COMEDI_CHANINFO _IOR(CIO, 3, struct comedi_chaninfo)
 
 /* structures */
 
-typedef struct comedi_devconfig_struct comedi_devconfig;
 typedef struct comedi_rangeinfo_struct comedi_rangeinfo;
 typedef struct comedi_krange_struct comedi_krange;
 typedef struct comedi_bufconfig_struct comedi_bufconfig;
        int unused[30];
 };
 
-struct comedi_devconfig_struct {
+struct comedi_devconfig {
        char board_name[COMEDI_NAMELEN];
        int options[COMEDI_NDEVCONFOPTS];
 };
 
 static struct comedi_device_file_info
     *comedi_file_info_table[COMEDI_NUM_MINORS];
 
-static int do_devconfig_ioctl(struct comedi_device *dev, comedi_devconfig *arg);
+static int do_devconfig_ioctl(struct comedi_device *dev, struct comedi_devconfig *arg);
 static int do_bufconfig_ioctl(struct comedi_device *dev, void *arg);
 static int do_devinfo_ioctl(struct comedi_device *dev, struct comedi_devinfo *arg,
                            struct file *file);
        writes:
                none
 */
-static int do_devconfig_ioctl(struct comedi_device *dev, comedi_devconfig *arg)
+static int do_devconfig_ioctl(struct comedi_device *dev, struct comedi_devconfig *arg)
 {
-       comedi_devconfig it;
+       struct comedi_devconfig it;
        int ret;
        unsigned char *aux_data = NULL;
        int aux_len;
                return 0;
        }
 
-       if (copy_from_user(&it, arg, sizeof(comedi_devconfig)))
+       if (copy_from_user(&it, arg, sizeof(struct comedi_devconfig)))
                return -EFAULT;
 
        it.board_name[COMEDI_NAMELEN - 1] = 0;
 
 
        const char *driver_name;
        struct module *module;
-       int (*attach) (struct comedi_device *, comedi_devconfig *);
+       int (*attach) (struct comedi_device *, struct comedi_devconfig *);
        int (*detach) (struct comedi_device *);
 
        /* number of elements in board_name and board_id arrays */
 }
 
 void comedi_device_detach(struct comedi_device *dev);
-int comedi_device_attach(struct comedi_device *dev, comedi_devconfig *it);
+int comedi_device_attach(struct comedi_device *dev, struct comedi_devconfig *it);
 int comedi_driver_register(struct comedi_driver *);
 int comedi_driver_unregister(struct comedi_driver *);
 
 
        __comedi_device_detach(dev);
 }
 
-int comedi_device_attach(struct comedi_device *dev, comedi_devconfig *it)
+int comedi_device_attach(struct comedi_device *dev, struct comedi_devconfig *it)
 {
        struct comedi_driver *driv;
        int ret;
 
 int comedi_auto_config(struct device *hardware_device, const char *board_name, const int *options, unsigned num_options)
 {
-       comedi_devconfig it;
+       struct comedi_devconfig it;
        int minor;
        struct comedi_device_file_info *dev_file_info;
        int retval;
 
 #define CALLBACK_FUNC  (((struct subdev_8255_struct *)s->private)->cb_func)
 #define subdevpriv     ((struct subdev_8255_struct *)s->private)
 
-static int dev_8255_attach(struct comedi_device *dev, comedi_devconfig * it);
+static int dev_8255_attach(struct comedi_device *dev, struct comedi_devconfig * it);
 static int dev_8255_detach(struct comedi_device *dev);
 static struct comedi_driver driver_8255 = {
       driver_name:"8255",
 
  */
 
-static int dev_8255_attach(struct comedi_device *dev, comedi_devconfig * it)
+static int dev_8255_attach(struct comedi_device *dev, struct comedi_devconfig * it)
 {
        int ret;
        unsigned long iobase;
 
 #define ACL7225_DI_LO  2       /* Digital input low byte (DI0-DI7) */
 #define ACL7225_DI_HI  3       /* Digital input high byte (DI8-DI15) */
 
-static int acl7225b_attach(struct comedi_device *dev, comedi_devconfig * it);
+static int acl7225b_attach(struct comedi_device *dev, struct comedi_devconfig * it);
 static int acl7225b_detach(struct comedi_device *dev);
 
 typedef struct {
        return 2;
 }
 
-static int acl7225b_attach(struct comedi_device *dev, comedi_devconfig * it)
+static int acl7225b_attach(struct comedi_device *dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        int iobase, iorange;
 
 /*
 +----------------------------------------------------------------------------+
 | Function name     :static int i_ADDI_Attach(struct comedi_device *dev,            |
-|                                                                              comedi_devconfig *it)        |
+|                                                                              struct comedi_devconfig *it)        |
 |                                                                                                               |
 +----------------------------------------------------------------------------+
 | Task              :Detects the card.                                       |
 |                       allocation of data structures for the driver.           |
 +----------------------------------------------------------------------------+
 | Input Parameters  :struct comedi_device *dev                                                                          |
-|                    comedi_devconfig *it                                                                       |
+|                    struct comedi_devconfig *it                                                                        |
 |                                                                                               |
 +----------------------------------------------------------------------------+
 | Return Value      :  0                                                                    |
 +----------------------------------------------------------------------------+
 */
 
-static int i_ADDI_Attach(struct comedi_device * dev, comedi_devconfig * it)
+static int i_ADDI_Attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        int ret, pages, i, n_subdevices;
 
 static unsigned short pci_list_builded;        /* set to 1 when list of card is known */
 
 /* Function declarations */
-static int i_ADDI_Attach(struct comedi_device *dev, comedi_devconfig *it);
+static int i_ADDI_Attach(struct comedi_device *dev, struct comedi_devconfig *it);
 static int i_ADDI_Detach(struct comedi_device *dev);
 static int i_ADDI_Reset(struct comedi_device *dev);
 
 
 
 #define devpriv ((pci6208_private *)dev->private)
 
-static int pci6208_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int pci6208_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int pci6208_detach(struct comedi_device * dev);
 
 #define pci6208_board_nbr \
  * in the driver structure, dev->board_ptr contains that
  * address.
  */
-static int pci6208_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int pci6208_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        int retval;
 
 
 #define devpriv ((adl_pci7296_private *)dev->private)
 
-static int adl_pci7296_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int adl_pci7296_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int adl_pci7296_detach(struct comedi_device * dev);
 static struct comedi_driver driver_adl_pci7296 = {
       driver_name:"adl_pci7296",
       detach:adl_pci7296_detach,
 };
 
-static int adl_pci7296_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int adl_pci7296_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct pci_dev *pcidev;
        struct comedi_subdevice *s;
 
 
 #define devpriv ((adl_pci7432_private *)dev->private)
 
-static int adl_pci7432_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int adl_pci7432_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int adl_pci7432_detach(struct comedi_device * dev);
 static struct comedi_driver driver_adl_pci7432 = {
       driver_name:"adl_pci7432",
 
 /*            */
 
-static int adl_pci7432_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int adl_pci7432_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct pci_dev *pcidev;
        struct comedi_subdevice *s;
 
 
 #define devpriv ((adl_pci8164_private *)dev->private)
 
-static int adl_pci8164_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int adl_pci8164_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int adl_pci8164_detach(struct comedi_device * dev);
 static struct comedi_driver driver_adl_pci8164 = {
       driver_name:"adl_pci8164",
 static int adl_pci8164_insn_write_buf1(struct comedi_device * dev,
        struct comedi_subdevice * s, struct comedi_insn * insn, unsigned int * data);
 
-static int adl_pci8164_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int adl_pci8164_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct pci_dev *pcidev;
        struct comedi_subdevice *s;
 
 // Function prototypes
 //
 
-static int pci9111_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int pci9111_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int pci9111_detach(struct comedi_device * dev);
 static void pci9111_ai_munge(struct comedi_device * dev, struct comedi_subdevice * s,
        void *data, unsigned int num_bytes, unsigned int start_chan_index);
 //      - Declare device driver capability
 //
 
-static int pci9111_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int pci9111_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *subdevice;
        unsigned long io_base, io_range, lcr_io_base, lcr_io_range;
 
 
 #define PCI9118_BIPOLAR_RANGES 4       /* used for test on mixture of BIP/UNI ranges */
 
-static int pci9118_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int pci9118_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int pci9118_detach(struct comedi_device * dev);
 
 typedef struct {
 /*
 ==============================================================================
 */
-static int pci9118_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int pci9118_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        int ret, pages, i;
 
  * 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_attach(struct comedi_device *dev,struct comedi_devconfig *it);
 static int adq12b_detach(struct comedi_device *dev);
 static struct comedi_driver driver_adq12b={
         driver_name:    "adq12b",
  * in the driver structure, dev->board_ptr contains that
  * address.
  */
-static int adq12b_attach(struct comedi_device *dev,comedi_devconfig *it)
+static int adq12b_attach(struct comedi_device *dev,struct comedi_devconfig *it)
 {
         struct comedi_subdevice *s;
         unsigned long iobase;
 
        }
 };
 
-static int pci1710_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int pci1710_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int pci1710_detach(struct comedi_device * dev);
 
 typedef struct {
 /*
 ==============================================================================
 */
-static int pci1710_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int pci1710_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        int ret, subdev, n_subdevices;
 
  * the board, and also about the kernel module that contains
  * the device code.
  */
-static int pci1723_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int pci1723_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int pci1723_detach(struct comedi_device * dev);
 
 #define n_boardtypes (sizeof(boardtypes)/sizeof(boardtype))
  * Attach is called by the Comedi core to configure the driver
  * for a pci1723 board.
  */
-static int pci1723_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int pci1723_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        int ret, subdev, n_subdevices;
 
 
 #define OMBCMD_RETRY   0x03    /* 3 times try request before error */
 
-static int pci_dio_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int pci_dio_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int pci_dio_detach(struct comedi_device * dev);
 
 typedef struct {
 /*
 ==============================================================================
 */
-static int pci1760_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int pci1760_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        int subdev = 0;
 /*
 ==============================================================================
 */
-static int CheckAndAllocCard(struct comedi_device * dev, comedi_devconfig * it,
+static int CheckAndAllocCard(struct comedi_device * dev, struct comedi_devconfig * it,
        struct pci_dev *pcidev)
 {
        pci_dio_private *pr, *prev;
 /*
 ==============================================================================
 */
-static int pci_dio_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int pci_dio_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        int ret, subdev, n_subdevices, i, j;
 
                }
 };
 
-static int aio_aio12_8_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int aio_aio12_8_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        int iobase;
        struct comedi_subdevice *s;
 
 
 #define        devpriv ((aio_iiro_16_private *) dev->private)
 
-static int aio_iiro_16_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int aio_iiro_16_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 
 static int aio_iiro_16_detach(struct comedi_device * dev);
 
 static int aio_iiro_16_dio_insn_bits_write(struct comedi_device * dev,
        struct comedi_subdevice * s, struct comedi_insn * insn, unsigned int * data);
 
-static int aio_iiro_16_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int aio_iiro_16_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        int iobase;
        struct comedi_subdevice *s;
 
  * 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_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int dio200_detach(struct comedi_device * dev);
 static struct comedi_driver driver_amplc_dio200 = {
       driver_name:DIO200_DRIVER_NAME,
  * in the driver structure, dev->board_ptr contains that
  * address.
  */
-static int dio200_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int dio200_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        unsigned long iobase = 0;
 
  * 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_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int pc236_detach(struct comedi_device * dev);
 static struct comedi_driver driver_amplc_pc236 = {
       driver_name:PC236_DRIVER_NAME,
  * in the driver structure, dev->board_ptr contains that
  * address.
  */
-static int pc236_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int pc236_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        unsigned long iobase = 0;
 
  * 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_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int pc263_detach(struct comedi_device * dev);
 static struct comedi_driver driver_amplc_pc263 = {
       driver_name:PC263_DRIVER_NAME,
  * in the driver structure, dev->board_ptr contains that
  * address.
  */
-static int pc263_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int pc263_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        unsigned long iobase = 0;
 
  * 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_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int pci224_detach(struct comedi_device * dev);
 static struct comedi_driver driver_amplc_pci224 = {
       driver_name:DRIVER_NAME,
  * in the driver structure, dev->board_ptr contains that
  * address.
  */
-static int pci224_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int pci224_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        struct pci_dev *pci_dev;
 
  * 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_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int pci230_detach(struct comedi_device * dev);
 static struct comedi_driver driver_amplc_pci230 = {
       driver_name:"amplc_pci230",
  * in the driver structure, dev->board_ptr contains that
  * address.
  */
-static int pci230_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int pci230_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        unsigned long iobase1, iobase2;
 
 
 #define C6XDIGIO_TIME_OUT 20
 
-static int c6xdigio_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int c6xdigio_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int c6xdigio_detach(struct comedi_device * dev);
 struct comedi_driver driver_c6xdigio = {
       driver_name:"c6xdigio",
        .id_table = c6xdigio_pnp_tbl,
 };
 
-static int c6xdigio_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int c6xdigio_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        int result = 0;
        unsigned long iobase;
 
 } das16cs_private;
 #define devpriv ((das16cs_private *)dev->private)
 
-static int das16cs_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int das16cs_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int das16cs_detach(struct comedi_device * dev);
 static struct comedi_driver driver_das16cs = {
       driver_name:"cb_das16_cs",
        return NULL;
 }
 
-static int das16cs_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int das16cs_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct pcmcia_device *link;
        struct comedi_subdevice *s;
 
  * 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_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int cb_pcidas_detach(struct comedi_device * dev);
 static struct comedi_driver driver_cb_pcidas = {
       driver_name:"cb_pcidas",
  * Attach is called by the Comedi core to configure the driver
  * for a particular board.
  */
-static int cb_pcidas_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int cb_pcidas_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        struct pci_dev *pcidev;
 
  * 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 attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int detach(struct comedi_device * dev);
 static struct comedi_driver driver_cb_pcidas = {
       driver_name:"cb_pcidas64",
  * Attach is called by the Comedi core to configure the driver
  * for a particular board.
  */
-static int attach(struct comedi_device * dev, comedi_devconfig * it)
+static int attach(struct comedi_device *dev, struct comedi_devconfig *it)
 {
        struct pci_dev *pcidev;
        int index;
 
  */
 #define devpriv ((cb_pcidda_private *)dev->private)
 
-static int cb_pcidda_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int cb_pcidda_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int cb_pcidda_detach(struct comedi_device * dev);
 //static int cb_pcidda_ai_rinsn(struct comedi_device *dev,struct comedi_subdevice *s,struct comedi_insn *insn,unsigned int *data);
 static int cb_pcidda_ao_winsn(struct comedi_device * dev, struct comedi_subdevice * s,
  * Attach is called by the Comedi core to configure the driver
  * for a particular board.
  */
-static int cb_pcidda_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int cb_pcidda_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        struct pci_dev *pcidev;
 
  * 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_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int pcidio_detach(struct comedi_device * dev);
 static struct comedi_driver driver_cb_pcidio = {
       driver_name:"cb_pcidio",
  * in the driver structure, dev->board_ptr contains that
  * address.
  */
-static int pcidio_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int pcidio_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct pci_dev *pcidev = NULL;
        int index;
 
  * 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_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int cb_pcimdas_detach(struct comedi_device * dev);
 static struct comedi_driver driver_cb_pcimdas = {
       driver_name:"cb_pcimdas",
  * in the driver structure, dev->board_ptr contains that
  * address.
  */
-static int cb_pcimdas_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int cb_pcimdas_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        struct pci_dev *pcidev;
 
  * 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 attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int detach(struct comedi_device * dev);
 static struct comedi_driver cb_pcimdda_driver = {
       driver_name:"cb_pcimdda",
  *
  *  Otherwise, returns a -errno on error
  */
-static int probe(struct comedi_device * dev, const comedi_devconfig * it);
+static int probe(struct comedi_device * dev, const struct comedi_devconfig * it);
 
 /*---------------------------------------------------------------------------
   FUNCTION DEFINITIONS
  * in the driver structure, dev->board_ptr contains that
  * address.
  */
-static int attach(struct comedi_device * dev, comedi_devconfig * it)
+static int attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        int err;
  *
  *  Otherwise, returns a -errno on error
  */
-static int probe(struct comedi_device * dev, const comedi_devconfig * it)
+static int probe(struct comedi_device * dev, const struct comedi_devconfig * it)
 {
        struct pci_dev *pcidev;
        int index;
 
  * the board, and also about the kernel module that contains
  * the device code.
  */
-static int bonding_attach(struct comedi_device *dev, comedi_devconfig *it);
+static int bonding_attach(struct comedi_device *dev, struct comedi_devconfig *it);
 static int bonding_detach(struct comedi_device *dev);
 /** Build Private array of all devices.. */
-static int doDevConfig(struct comedi_device *dev, comedi_devconfig *it);
+static int doDevConfig(struct comedi_device *dev, struct comedi_devconfig *it);
 static void doDevUnconfig(struct comedi_device *dev);
 /* Ugly implementation of realloc that always copies memory around -- I'm lazy,
  * what can I say?  I like to do wasteful memcopies.. :) */
  * in the driver structure, dev->board_ptr contains that
  * address.
  */
-static int bonding_attach(struct comedi_device *dev, comedi_devconfig *it)
+static int bonding_attach(struct comedi_device *dev, struct comedi_devconfig *it)
 {
        struct comedi_subdevice *s;
 
        return newmem;
 }
 
-static int doDevConfig(struct comedi_device *dev, comedi_devconfig *it)
+static int doDevConfig(struct comedi_device *dev, struct comedi_devconfig *it)
 {
        int i;
        void *devs_opened[COMEDI_NUM_BOARD_MINORS];
 
 #define PARPORT_B 1
 #define PARPORT_C 2
 
-static int parport_attach(struct comedi_device *dev, comedi_devconfig *it);
+static int parport_attach(struct comedi_device *dev, struct comedi_devconfig *it);
 static int parport_detach(struct comedi_device *dev);
 static struct comedi_driver driver_parport = {
       .driver_name =   "comedi_parport",
        return IRQ_HANDLED;
 }
 
-static int parport_attach(struct comedi_device *dev, comedi_devconfig *it)
+static int parport_attach(struct comedi_device *dev, struct comedi_devconfig *it)
 {
        int ret;
        unsigned int irq;
 
  * task period because analog input tends to be slow. */
 #define SPEED_LIMIT 100000     /* in nanoseconds */
 
-static int timer_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int timer_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int timer_detach(struct comedi_device * dev);
 static int timer_inttrig(struct comedi_device * dev, struct comedi_subdevice * s,
        unsigned int trig_num);
        return 0;
 }
 
-static int timer_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int timer_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        int ret;
        struct comedi_subdevice *s, *emul_s;
 
 };
 #define devpriv ((struct waveform_private *)dev->private)
 
-static int waveform_attach(struct comedi_device *dev, comedi_devconfig *it);
+static int waveform_attach(struct comedi_device *dev, struct comedi_devconfig *it);
 static int waveform_detach(struct comedi_device *dev);
 static struct comedi_driver driver_waveform = {
       .driver_name =   "comedi_test",
        comedi_event(dev, dev->read_subdev);
 }
 
-static int waveform_attach(struct comedi_device *dev, comedi_devconfig *it)
+static int waveform_attach(struct comedi_device *dev, struct comedi_devconfig *it)
 {
        struct comedi_subdevice *s;
        int amplitude = it->options[0];
 
 
 #define devpriv ((contec_private *)dev->private)
 
-static int contec_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int contec_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int contec_detach(struct comedi_device * dev);
 static struct comedi_driver driver_contec = {
       driver_name:"contec_pci_dio",
 static int contec_ns_to_timer(unsigned int *ns, int round);
 #endif
 
-static int contec_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int contec_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct pci_dev *pcidev;
        struct comedi_subdevice *s;
 
 #define DAQBOARD2000_PosRefDacSelect             0x0100
 #define DAQBOARD2000_NegRefDacSelect             0x0000
 
-static int daqboard2000_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int daqboard2000_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int daqboard2000_detach(struct comedi_device * dev);
 
 static struct comedi_driver driver_daqboard2000 = {
        return result;
 }
 
-static int daqboard2000_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int daqboard2000_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        int result = 0;
        struct comedi_subdevice *s;
 
        return 2;
 }
 
-static int das08_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int das08_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 
 static struct comedi_driver driver_das08 = {
       driver_name: DRV_NAME,
        return 0;
 }
 
-static int das08_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int das08_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        int ret;
        unsigned long iobase;
 
 
 #define thisboard ((const struct das08_board_struct *)dev->board_ptr)
 
-static int das08_cs_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int das08_cs_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 
 static struct comedi_driver driver_das08_cs = {
       driver_name:"das08_cs",
       offset:sizeof(struct das08_board_struct),
 };
 
-static int das08_cs_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int das08_cs_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        int ret;
        unsigned long iobase;
 
 
 #define n_das16_boards ((sizeof(das16_boards))/(sizeof(das16_board)))
 
-static int das16_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int das16_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int das16_detach(struct comedi_device * dev);
 static struct comedi_driver driver_das16 = {
       driver_name:"das16",
                inb(dev->iobase + DAS1600_STATUS_B));
 }
 
-static int das16_probe(struct comedi_device * dev, comedi_devconfig * it)
+static int das16_probe(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        int status;
        int diobits;
  *   3  Clock speed (in MHz)
  */
 
-static int das16_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int das16_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        int ret;
 
 
 #define das16m1_num_boards ((sizeof(das16m1_boards)) / (sizeof(das16m1_boards[0])))
 
-static int das16m1_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int das16m1_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int das16m1_detach(struct comedi_device * dev);
 static struct comedi_driver driver_das16m1 = {
       driver_name:"das16m1",
  *   1  IRQ
  */
 
-static int das16m1_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int das16m1_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        int ret;
 
        das1802hr, das1802hr_da, das1801hc, das1802hc, das1801ao, das1802ao
 };
 
-static int das1800_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int das1800_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int das1800_detach(struct comedi_device * dev);
 static int das1800_probe(struct comedi_device * dev);
 static int das1800_cancel(struct comedi_device * dev, struct comedi_subdevice * s);
        return 0;
 }
 
-static int das1800_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int das1800_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        unsigned long iobase = it->options[0];
 
 #define        C2 0x80
 #define        RWLH 0x30
 
-static int das6402_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int das6402_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int das6402_detach(struct comedi_device * dev);
 static struct comedi_driver driver_das6402 = {
       driver_name:"das6402",
        return 0;
 }
 
-static int das6402_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int das6402_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        unsigned int irq;
        unsigned long iobase;
 
 
 #define devpriv ((das800_private *)dev->private)
 
-static int das800_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int das800_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int das800_detach(struct comedi_device * dev);
 static int das800_cancel(struct comedi_device * dev, struct comedi_subdevice * s);
 
        return IRQ_HANDLED;
 }
 
-static int das800_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int das800_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        unsigned long iobase = it->options[0];
 
  * 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_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int dmm32at_detach(struct comedi_device * dev);
 static struct comedi_driver driver_dmm32at = {
       driver_name:"dmm32at",
  * in the driver structure, dev->board_ptr contains that
  * address.
  */
-static int dmm32at_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int dmm32at_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        int ret;
        struct comedi_subdevice *s;
 
 #define DT2801_STATUS          1
 #define DT2801_CMD             1
 
-static int dt2801_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int dt2801_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int dt2801_detach(struct comedi_device * dev);
 static struct comedi_driver driver_dt2801 = {
       driver_name:"dt2801",
        [4] - dac0 range 0=[-10,10], 1=[-5,5], 2=[-2.5,2.5] 3=[0,10], 4=[0,5]
        [5] - dac1 range 0=[-10,10], 1=[-5,5], 2=[-2.5,2.5] 3=[0,10], 4=[0,5]
 */
-static int dt2801_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int dt2801_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        unsigned long iobase;
 
 
 #define this_board ((const boardtype *)dev->board_ptr)
 
-static int dt2811_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int dt2811_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int dt2811_detach(struct comedi_device * dev);
 static struct comedi_driver driver_dt2811 = {
       driver_name:"dt2811",
                  2 == unipolar 5V  (0V -- +5V)
 */
 
-static int dt2811_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int dt2811_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        //int i, irq;
        //unsigned long irqs;
 
 #define DT2814_ENB 0x10
 #define DT2814_CHANMASK 0x0f
 
-static int dt2814_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int dt2814_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int dt2814_detach(struct comedi_device * dev);
 static struct comedi_driver driver_dt2814 = {
       driver_name:"dt2814",
 
 }
 
-static int dt2814_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int dt2814_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        int i, irq;
        int ret;
 
 #define DT2815_DATA 0
 #define DT2815_STATUS 1
 
-static int dt2815_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int dt2815_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int dt2815_detach(struct comedi_device * dev);
 static struct comedi_driver driver_dt2815 = {
       driver_name:"dt2815",
                  1 == current
  */
 
-static int dt2815_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int dt2815_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        int i;
 
 #define DT2817_CR 0
 #define DT2817_DATA 1
 
-static int dt2817_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int dt2817_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int dt2817_detach(struct comedi_device * dev);
 static struct comedi_driver driver_dt2817 = {
       driver_name:"dt2817",
        return 2;
 }
 
-static int dt2817_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int dt2817_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        int ret;
        struct comedi_subdevice *s;
 
                if(_i){b}                               \
        }while(0)
 
-static int dt282x_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int dt282x_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int dt282x_detach(struct comedi_device * dev);
 static struct comedi_driver driver_dt282x = {
       driver_name:"dt282x",
    9   ao0 0=±10 V, 1=0-10 V, 2=±5 V, 3=0-5 V, 4=±2.5 V
    10  ao1 0=±10 V, 1=0-10 V, 2=±5 V, 3=0-5 V, 4=±2.5 V
  */
-static int dt282x_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int dt282x_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        int i, irq;
        int ret;
 
 } dt3k_private;
 #define devpriv ((dt3k_private *)dev->private)
 
-static int dt3000_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int dt3000_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int dt3000_detach(struct comedi_device * dev);
 static struct comedi_driver driver_dt3000 = {
       driver_name:"dt3000",
 
 static int dt_pci_probe(struct comedi_device * dev, int bus, int slot);
 
-static int dt3000_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int dt3000_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        int bus, slot;
 
        return n;
 }
 
-static int dt9812_attach(struct comedi_device *dev, comedi_devconfig *it)
+static int dt9812_attach(struct comedi_device *dev, struct comedi_devconfig *it)
 {
        int i;
        struct comedi_subdevice *s;
 
        }
 };
 
-static int fl512_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int fl512_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int fl512_detach(struct comedi_device * dev);
 
 static struct comedi_driver driver_fl512 = {
 /*
  * start attach
  */
-static int fl512_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int fl512_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        unsigned long iobase;
        struct comedi_subdevice *s;     /* pointer to the subdevice:
 
 #include "plx9080.h"
 #include "comedi_fc.h"
 
-static int hpdi_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int hpdi_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int hpdi_detach(struct comedi_device * dev);
 void abort_dma(struct comedi_device * dev, unsigned int channel);
 static int hpdi_cmd(struct comedi_device * dev, struct comedi_subdevice * s);
        return transfer_size;
 }
 
-static int hpdi_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int hpdi_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct pci_dev *pcidev;
        int i;
 
        Forward declarations
 ==============================================================================
 */
-static int icp_multi_attach(struct comedi_device *dev, comedi_devconfig *it);
+static int icp_multi_attach(struct comedi_device *dev, struct comedi_devconfig *it);
 static int icp_multi_detach(struct comedi_device *dev);
 
 /*
 
        Parameters:
                struct comedi_device *dev       Pointer to current device structure
-               comedi_devconfig *it    Pointer to current device configuration
+               struct comedi_devconfig *it     Pointer to current device configuration
 
        Returns:int     0 = success
 
 ==============================================================================
 */
-static int icp_multi_attach(struct comedi_device *dev, comedi_devconfig *it)
+static int icp_multi_attach(struct comedi_device *dev, struct comedi_devconfig *it)
 {
        struct comedi_subdevice *s;
        int ret, subdev, n_subdevices;
 
 #define devpriv ((pci20xxx_private *)dev->private)
 #define CHAN (CR_CHAN(it->chanlist[0]))
 
-static int pci20xxx_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int pci20xxx_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int pci20xxx_detach(struct comedi_device * dev);
 
 static struct comedi_driver driver_pci20xxx = {
                1 == unipolar 10V  (0V -- +10V)
                2 == bipolar 5V  (-5V -- +5V)
 */
-static int pci20xxx_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int pci20xxx_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        unsigned char i;
        int ret;
 
 #define PCI_DEVICE_ID_JR3_3_CHANNEL 0x3113
 #define PCI_DEVICE_ID_JR3_4_CHANNEL 0x3114
 
-static int jr3_pci_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int jr3_pci_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int jr3_pci_detach(struct comedi_device * dev);
 
 static struct comedi_driver driver_jr3_pci = {
        add_timer(&devpriv->timer);
 }
 
-static int jr3_pci_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int jr3_pci_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        int result = 0;
        struct pci_dev *card = NULL;
 
 
 /*-- function prototypes ----------------------------------------------------*/
 
-static int cnt_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int cnt_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int cnt_detach(struct comedi_device * dev);
 
 static DEFINE_PCI_DEVICE_TABLE(cnt_pci_table) = {
 
 /*-- attach -----------------------------------------------------------------*/
 
-static int cnt_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int cnt_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *subdevice;
        struct pci_dev *pci_device;
 
 /*-----------------------------------------------------------------------------
   Comedi function prototypes
   ---------------------------------------------------------------------------*/
-static int me4000_attach(struct comedi_device *dev, comedi_devconfig *it);
+static int me4000_attach(struct comedi_device *dev, struct comedi_devconfig *it);
 static int me4000_detach(struct comedi_device *dev);
 static struct comedi_driver driver_me4000 = {
       driver_name:"me4000",
 /*-----------------------------------------------------------------------------
   Meilhaus function prototypes
   ---------------------------------------------------------------------------*/
-static int me4000_probe(struct comedi_device *dev, comedi_devconfig *it);
+static int me4000_probe(struct comedi_device *dev, struct comedi_devconfig *it);
 static int get_registers(struct comedi_device *dev, struct pci_dev *pci_dev_p);
 static int init_board_info(struct comedi_device *dev, struct pci_dev *pci_dev_p);
 static int init_ao_context(struct comedi_device *dev);
                }
 };
 
-static int me4000_attach(struct comedi_device *dev, comedi_devconfig *it)
+static int me4000_attach(struct comedi_device *dev, struct comedi_devconfig *it)
 {
        struct comedi_subdevice *s;
        int result;
        return 0;
 }
 
-static int me4000_probe(struct comedi_device *dev, comedi_devconfig *it)
+static int me4000_probe(struct comedi_device *dev, struct comedi_devconfig *it)
 {
        struct pci_dev *pci_device;
        int result, i;
 
 #define ME_COUNTER_VALUE_B             0x0022  /* R | - */
 
 /* Function prototypes */
-static int me_attach(struct comedi_device *dev, comedi_devconfig *it);
+static int me_attach(struct comedi_device *dev, struct comedi_devconfig *it);
 static int me_detach(struct comedi_device *dev);
 
 static const struct comedi_lrange me2000_ai_range = {
  * - Register PCI device
  * - Declare device driver capability
  */
-static int me_attach(struct comedi_device *dev, comedi_devconfig *it)
+static int me_attach(struct comedi_device *dev, struct comedi_devconfig *it)
 {
        struct pci_dev *pci_device;
        struct comedi_subdevice *subdevice;
 
 };
 
 //----------------------------------------------------------------------------
-static int mpc624_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int mpc624_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int mpc624_detach(struct comedi_device * dev);
 //----------------------------------------------------------------------------
 static struct comedi_driver driver_mpc624 = {
 static int mpc624_ai_rinsn(struct comedi_device * dev, struct comedi_subdevice * s,
        struct comedi_insn * insn, unsigned int * data);
 //----------------------------------------------------------------------------
-static int mpc624_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int mpc624_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        unsigned long iobase;
 
 } mpc8260cpm_private;
 #define devpriv ((mpc8260cpm_private *)dev->private)
 
-static int mpc8260cpm_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int mpc8260cpm_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int mpc8260cpm_detach(struct comedi_device * dev);
 static struct comedi_driver driver_mpc8260cpm = {
       driver_name:"mpc8260cpm",
 static int mpc8260cpm_dio_bits(struct comedi_device * dev, struct comedi_subdevice * s,
        struct comedi_insn * insn, unsigned int * data);
 
-static int mpc8260cpm_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int mpc8260cpm_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        int i;
 
 
 #define MULTIQ3_TIMEOUT 30
 
-static int multiq3_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int multiq3_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int multiq3_detach(struct comedi_device * dev);
 static struct comedi_driver driver_multiq3 = {
       driver_name:"multiq3",
    options[2] - number of encoder chips installed
  */
 
-static int multiq3_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int multiq3_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        int result = 0;
        unsigned long iobase;
 
 #define Rising_Edge_Detection_Enable(x)                (0x018+(x))
 #define Falling_Edge_Detection_Enable(x)       (0x020+(x))
 
-static int ni6527_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int ni6527_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int ni6527_detach(struct comedi_device * dev);
 static struct comedi_driver driver_ni6527 = {
       driver_name:"ni6527",
        return 2;
 }
 
-static int ni6527_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int ni6527_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        int ret;
 
 #define OverflowIntEnable              0x02
 #define EdgeIntEnable                  0x01
 
-static int ni_65xx_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int ni_65xx_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int ni_65xx_detach(struct comedi_device * dev);
 static struct comedi_driver driver_ni_65xx = {
       driver_name:"ni_65xx",
        return 2;
 }
 
-static int ni_65xx_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int ni_65xx_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        unsigned i;
 
 
 #define n_ni_660x_boards (sizeof(ni_660x_boards)/sizeof(ni_660x_boards[0]))
 
-static int ni_660x_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int ni_660x_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int ni_660x_detach(struct comedi_device * dev);
 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,
        }
 }
 
-static int ni_660x_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int ni_660x_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        int ret;
 
 #define devpriv ((ni_670x_private *)dev->private)
 #define n_ni_670x_boards (sizeof(ni_670x_boards)/sizeof(ni_670x_boards[0]))
 
-static int ni_670x_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int ni_670x_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int ni_670x_detach(struct comedi_device * dev);
 
 static struct comedi_driver driver_ni_670x = {
 static int ni_670x_dio_insn_config(struct comedi_device * dev, struct comedi_subdevice * s,
        struct comedi_insn * insn, unsigned int * data);
 
-static int ni_670x_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int ni_670x_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        int ret;
 
 
 #define devpriv ((a2150_private *)dev->private)
 
-static int a2150_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int a2150_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int a2150_detach(struct comedi_device * dev);
 static int a2150_cancel(struct comedi_device * dev, struct comedi_subdevice * s);
 
        return ID_BITS(status);
 }
 
-static int a2150_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int a2150_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        unsigned long iobase = it->options[0];
 
 } atao_private;
 #define devpriv ((atao_private *)dev->private)
 
-static int atao_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int atao_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int atao_detach(struct comedi_device * dev);
 static struct comedi_driver driver_atao = {
       driver_name:"ni_at_ao",
 static int atao_calib_insn_write(struct comedi_device * dev, struct comedi_subdevice * s,
        struct comedi_insn * insn, unsigned int * data);
 
-static int atao_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int atao_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        unsigned long iobase;
 
 
 MODULE_DEVICE_TABLE(pnp, device_ids);
 
-static int ni_atmio_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int ni_atmio_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int ni_atmio_detach(struct comedi_device * dev);
 static struct comedi_driver driver_atmio = {
       driver_name:"ni_atmio",
        return 0;
 }
 
-static int ni_atmio_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int ni_atmio_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct pnp_dev *isapnp_dev;
        int ret;
 
 #define boardtype ((const atmio16_board_t *)dev->board_ptr)
 
 /* function prototypes */
-static int atmio16d_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int atmio16d_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int atmio16d_detach(struct comedi_device * dev);
 static irqreturn_t atmio16d_interrupt(int irq, void *d PT_REGS_ARG);
 static int atmio16d_ai_cmdtest(struct comedi_device * dev, struct comedi_subdevice * s,
    options[12] - dac1 coding
  */
 
-static int atmio16d_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int atmio16d_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        unsigned int irq;
        unsigned long iobase;
 
 
 #define DIO700_SIZE 8          // size of io region used by board
 
-static int dio700_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int dio700_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int dio700_detach(struct comedi_device * dev);
 
 enum dio700_bustype { pcmcia_bustype };
 EXPORT_SYMBOL(subdev_700_cleanup);
 EXPORT_SYMBOL(subdev_700_interrupt);
 
-static int dio700_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int dio700_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        unsigned long iobase = 0;
 
 
 #define DIO24_SIZE 4           // size of io region used by board
 
-static int dio24_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int dio24_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int dio24_detach(struct comedi_device * dev);
 
 enum dio24_bustype { pcmcia_bustype };
       offset:sizeof(dio24_board),
 };
 
-static int dio24_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int dio24_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        unsigned long iobase = 0;
 
 #define   INIT_A1_BITS 0x70    // put hardware conversion counter output in harmless state (a1 mode 0)
 #define COUNTER_B_BASE_REG     0x18
 
-static int labpc_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int labpc_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int labpc_cancel(struct comedi_device * dev, struct comedi_subdevice * s);
 static irqreturn_t labpc_interrupt(int irq, void *d PT_REGS_ARG);
 static int labpc_drain_fifo(struct comedi_device * dev);
        return 0;
 }
 
-static int labpc_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int labpc_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        unsigned long iobase = 0;
        unsigned int irq = 0;
 
 
 static struct pcmcia_device *pcmcia_cur_dev = NULL;
 
-static int labpc_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int labpc_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 
 static const labpc_board labpc_cs_boards[] = {
        {
        .offset = sizeof(labpc_board),
 };
 
-static int labpc_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int labpc_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        unsigned long iobase = 0;
        unsigned int irq = 0;
 
        return 0;
 };
 
-static int ni_E_init(struct comedi_device * dev, comedi_devconfig * it)
+static int ni_E_init(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        unsigned j;
 
        return ret;
 }
 
-static int mio_cs_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int mio_cs_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int mio_cs_detach(struct comedi_device * dev);
 static struct comedi_driver driver_ni_mio_cs = {
       driver_name:"ni_mio_cs",
        link->dev_node = &dev_node;
 }
 
-static int mio_cs_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int mio_cs_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct pcmcia_device *link;
        unsigned int irq;
 
 #define IntEn (TransferReady|CountExpired|Waited|PrimaryTC|SecondaryTC)
 #endif
 
-static int nidio_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int nidio_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int nidio_detach(struct comedi_device * dev);
 static int ni_pcidio_cancel(struct comedi_device * dev, struct comedi_subdevice * s);
 
        return 0;
 }
 
-static int nidio_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int nidio_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        int i;
 
 
 #define n_pcimio_boards ((sizeof(ni_boards)/sizeof(ni_boards[0])))
 
-static int pcimio_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int pcimio_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int pcimio_detach(struct comedi_device * dev);
 static struct comedi_driver driver_pcimio = {
        driver_name: DRV_NAME,
        return 0;
 }
 
-static int pcimio_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int pcimio_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        int ret;
 
 
 #define n_boardtypes (sizeof(boardtypes)/sizeof(boardtype))
 #define this_board ((const boardtype *)dev->board_ptr)
 
-static int pcl711_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int pcl711_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int pcl711_detach(struct comedi_device * dev);
 static struct comedi_driver driver_pcl711 = {
       driver_name:"pcl711",
 }
 
 /*  Initialization */
-static int pcl711_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int pcl711_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        int ret;
        unsigned long iobase;
 
 
 // #define PCL724_IRQ   1  /* no IRQ support now */
 
-static int pcl724_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int pcl724_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int pcl724_detach(struct comedi_device * dev);
 
 typedef struct {
        }
 }
 
-static int pcl724_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int pcl724_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        unsigned long iobase;
        unsigned int iorange;
 
 #define PCL725_DO 0
 #define PCL725_DI 1
 
-static int pcl725_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int pcl725_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int pcl725_detach(struct comedi_device * dev);
 static struct comedi_driver driver_pcl725 = {
       driver_name:"pcl725",
        return 2;
 }
 
-static int pcl725_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int pcl725_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        unsigned long iobase;
 
        &range_4_20mA, &range_0_20mA
 };
 
-static int pcl726_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int pcl726_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int pcl726_detach(struct comedi_device * dev);
 
 typedef struct {
        return 2;
 }
 
-static int pcl726_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int pcl726_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        unsigned long iobase;
 
 #define PCL730_DIO_LO  2       /* TTL Digital I/O low byte (D0-D7) */
 #define PCL730_DIO_HI  3       /* TTL Digital I/O high byte (D8-D15) */
 
-static int pcl730_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int pcl730_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int pcl730_detach(struct comedi_device * dev);
 
 typedef struct {
        return 2;
 }
 
-static int pcl730_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int pcl730_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        unsigned long iobase;
 
        }
 };
 
-static int pcl812_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int pcl812_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int pcl812_detach(struct comedi_device * dev);
 
 typedef struct {
 /*
 ==============================================================================
 */
-static int pcl812_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int pcl812_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        int ret, subdev;
        unsigned long iobase;
 
 #define devpriv ((pcl816_private *)dev->private)
 #define this_board ((const boardtype *)dev->board_ptr)
 
-static int pcl816_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int pcl816_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int pcl816_detach(struct comedi_device * dev);
 
 #ifdef unused
    Initialization
 
 */
-static int pcl816_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int pcl816_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        int ret;
        unsigned long iobase;
 
 static const struct comedi_lrange range718_unipolar2 = { 1, {UNI_RANGE(2),} };
 static const struct comedi_lrange range718_unipolar1 = { 1, {BIP_RANGE(1),} };
 
-static int pcl818_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int pcl818_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int pcl818_detach(struct comedi_device * dev);
 
 #ifdef unused
    Initialization
 
 */
-static int pcl818_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int pcl818_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        int ret;
        unsigned long iobase;
 
 #define CR_A_MODE(a)   ((a)<<5)
 #define CR_CW          0x80
 
-static int pcm3724_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int pcm3724_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int pcm3724_detach(struct comedi_device * dev);
 
 typedef struct {
        return 1;
 }
 
-static int pcm3724_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int pcm3724_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        unsigned long iobase;
        unsigned int iorange;
 
 #define PCM3730_DIB 2
 #define PCM3730_DIC 3
 
-static int pcm3730_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int pcm3730_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int pcm3730_detach(struct comedi_device * dev);
 static struct comedi_driver driver_pcm3730 = {
       driver_name:"pcm3730",
        return 2;
 }
 
-static int pcm3730_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int pcm3730_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        unsigned long iobase;
 
 };
 #define devpriv ((struct pcmad_priv_struct *)dev->private)
 
-static int pcmad_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int pcmad_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int pcmad_detach(struct comedi_device * dev);
 static struct comedi_driver driver_pcmad = {
       driver_name:"pcmad",
  * 2   0=single ended 1=differential
  * 3   0=straight binary 1=two's comp
  */
-static int pcmad_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int pcmad_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        int ret;
        struct comedi_subdevice *s;
 
  * the board, and also about the kernel module that contains
  * the device code.
  */
-static int pcmda12_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int pcmda12_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int pcmda12_detach(struct comedi_device * dev);
 
 static void zero_chans(struct comedi_device * dev);
  * in the driver structure, dev->board_ptr contains that
  * address.
  */
-static int pcmda12_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int pcmda12_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        unsigned long iobase;
 
  * the board, and also about the kernel module that contains
  * the device code.
  */
-static int pcmmio_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int pcmmio_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int pcmmio_detach(struct comedi_device * dev);
 
 static struct comedi_driver driver = {
  * in the driver structure, dev->board_ptr contains that
  * address.
  */
-static int pcmmio_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int pcmmio_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        int sdev_no, chans_left, n_dio_subdevs, n_subdevs, port, asic,
 
  * the board, and also about the kernel module that contains
  * the device code.
  */
-static int pcmuio_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int pcmuio_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int pcmuio_detach(struct comedi_device * dev);
 
 static struct comedi_driver driver = {
  * in the driver structure, dev->board_ptr contains that
  * address.
  */
-static int pcmuio_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int pcmuio_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        int sdev_no, chans_left, n_subdevs, port, asic, thisasic_chanct = 0;
 
 
 #include <linux/ioport.h>
 
-static int poc_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int poc_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int poc_detach(struct comedi_device * dev);
 static int readback_insn(struct comedi_device * dev, struct comedi_subdevice * s,
        struct comedi_insn * insn, unsigned int * data);
       offset:sizeof(boards[0]),
 };
 
-static int poc_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int poc_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        unsigned long iobase;
 
 
 /* comedi interface code */
 
-static int daqp_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int daqp_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int daqp_detach(struct comedi_device * dev);
 static struct comedi_driver driver_daqp = {
       driver_name:"quatech_daqp_cs",
  * when it is inserted.
  */
 
-static int daqp_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int daqp_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        int ret;
        local_info_t *local = dev_table[it->options[0]];
 
  * the board, and also about the kernel module that contains
  * the device code.
  */
-static int rtd_attach(struct comedi_device *dev, comedi_devconfig *it);
+static int rtd_attach(struct comedi_device *dev, struct comedi_devconfig *it);
 static int rtd_detach(struct comedi_device *dev);
 
 static struct comedi_driver rtd520Driver = {
  * in the driver structure, dev->board_ptr contains that
  * address.
  */
-static int rtd_attach(struct comedi_device *dev, comedi_devconfig *it)
+static int rtd_attach(struct comedi_device *dev, struct comedi_devconfig *it)
 {                              /* board name and options flags */
        struct comedi_subdevice *s;
        struct pci_dev *pcidev;
 
 
 #define this_board ((const boardtype *)dev->board_ptr)
 
-static int rti800_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int rti800_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int rti800_detach(struct comedi_device * dev);
 static struct comedi_driver driver_rti800 = {
       driver_name:"rti800",
    options[8] - dac1 coding
  */
 
-static int rti800_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int rti800_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        unsigned int irq;
        unsigned long iobase;
 
 #define RTI802_DATALOW 1
 #define RTI802_DATAHIGH 2
 
-static int rti802_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int rti802_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int rti802_detach(struct comedi_device * dev);
 static struct comedi_driver driver_rti802 = {
       driver_name:"rti802",
        return i;
 }
 
-static int rti802_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int rti802_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        int i;
 
  * 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_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int s526_detach(struct comedi_device * dev);
 static struct comedi_driver driver_s526 = {
       driver_name:"s526",
  * in the driver structure, dev->board_ptr contains that
  * address.
  */
-static int s526_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int s526_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
        int iobase;
 
 
 MODULE_DEVICE_TABLE(pci, s626_pci_table);
 
-static int s626_attach(struct comedi_device *dev, comedi_devconfig *it);
+static int s626_attach(struct comedi_device *dev, struct comedi_devconfig *it);
 static int s626_detach(struct comedi_device *dev);
 
 static struct comedi_driver driver_s626 = {
        }
 };
 
-static int s626_attach(struct comedi_device *dev, comedi_devconfig *it)
+static int s626_attach(struct comedi_device *dev, struct comedi_devconfig *it)
 {
 /*   uint8_t   PollList; */
 /*   uint16_t  AdcData; */
 
  */
 #define devpriv ((serial2002_private *)dev->private)
 
-static int serial2002_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int serial2002_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int serial2002_detach(struct comedi_device * dev);
 struct comedi_driver driver_serial2002 = {
       driver_name:"serial2002",
        return n;
 }
 
-static int serial2002_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int serial2002_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
 
 
  * 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_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int skel_detach(struct comedi_device * dev);
 static struct comedi_driver driver_skel = {
       driver_name:"dummy",
  * in the driver structure, dev->board_ptr contains that
  * address.
  */
-static int skel_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int skel_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        struct comedi_subdevice *s;
 
 
 /* In the following section we define the API of this driver.                */
 /* ------------------------------------------------------------------------- */
 
-static int dnp_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int dnp_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int dnp_detach(struct comedi_device * dev);
 
 static struct comedi_driver driver_dnp = {
 /* dev->board_ptr contains that address.                                     */
 /* ------------------------------------------------------------------------- */
 
-static int dnp_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int dnp_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
 
        struct comedi_subdevice *s;
 
        unsigned char usp_prev_cn_val[3];       /* previous channel value */
 } unioxx5_subd_priv;
 
-static int unioxx5_attach(struct comedi_device * dev, comedi_devconfig * it);
+static int unioxx5_attach(struct comedi_device * dev, struct comedi_devconfig * it);
 static int unioxx5_subdev_write(struct comedi_device * dev, struct comedi_subdevice * subdev,
        struct comedi_insn * insn, unsigned int * data);
 static int unioxx5_subdev_read(struct comedi_device * dev, struct comedi_subdevice * subdev,
 
 COMEDI_INITCLEANUP(unioxx5_driver);
 
-static int unioxx5_attach(struct comedi_device * dev, comedi_devconfig * it)
+static int unioxx5_attach(struct comedi_device * dev, struct comedi_devconfig * it)
 {
        int iobase, i, n_subd;
        int id, num, ba;
 
 }
 
 /* is called when comedi-config is called */
-static int usbdux_attach(struct comedi_device *dev, comedi_devconfig *it)
+static int usbdux_attach(struct comedi_device *dev, struct comedi_devconfig *it)
 {
        int ret;
        int index;
 
 /*
  * is called when comedi-config is called
  */
-static int usbduxfast_attach(struct comedi_device *dev, comedi_devconfig *it)
+static int usbduxfast_attach(struct comedi_device *dev, struct comedi_devconfig *it)
 {
        int ret;
        int index;