···157157#define devpriv ((adq12b_private *)dev->private)158158159159/*160160- * The comedi_driver structure tells the Comedi core module160160+ * The struct comedi_driver structure tells the Comedi core module161161 * which functions to call to configure/deconfigure (attach/detach)162162 * the board, and also about the kernel module that contains163163 * the device code.164164 */165165static int adq12b_attach(struct comedi_device *dev,comedi_devconfig *it);166166static int adq12b_detach(struct comedi_device *dev);167167-static comedi_driver driver_adq12b={167167+static struct comedi_driver driver_adq12b={168168 driver_name: "adq12b",169169 module: THIS_MODULE,170170 attach: adq12b_attach,
···138138MODULE_DEVICE_TABLE(pci, pci1723_pci_table);139139140140/*141141- * The comedi_driver structure tells the Comedi core module141141+ * The struct comedi_driver structure tells the Comedi core module142142 * which functions to call to configure/deconfigure (attach/detach)143143 * the board, and also about the kernel module that contains144144 * the device code.···148148149149#define n_boardtypes (sizeof(boardtypes)/sizeof(boardtype))150150151151-static comedi_driver driver_pci1723 = {151151+static struct comedi_driver driver_pci1723 = {152152 driver_name:"adv_pci1723",153153 module:THIS_MODULE,154154 attach:pci1723_attach,
···468468} dio200_subdev_intr;469469470470/*471471- * The comedi_driver structure tells the Comedi core module471471+ * The struct comedi_driver structure tells the Comedi core module472472 * which functions to call to configure/deconfigure (attach/detach)473473 * the board, and also about the kernel module that contains474474 * the device code.475475 */476476static int dio200_attach(struct comedi_device * dev, comedi_devconfig * it);477477static int dio200_detach(struct comedi_device * dev);478478-static comedi_driver driver_amplc_dio200 = {478478+static struct comedi_driver driver_amplc_dio200 = {479479 driver_name:DIO200_DRIVER_NAME,480480 module:THIS_MODULE,481481 attach:dio200_attach,
+2-2
drivers/staging/comedi/drivers/amplc_pc236.c
···160160#define devpriv ((pc236_private *)dev->private)161161162162/*163163- * The comedi_driver structure tells the Comedi core module163163+ * The struct comedi_driver structure tells the Comedi core module164164 * which functions to call to configure/deconfigure (attach/detach)165165 * the board, and also about the kernel module that contains166166 * the device code.167167 */168168static int pc236_attach(struct comedi_device * dev, comedi_devconfig * it);169169static int pc236_detach(struct comedi_device * dev);170170-static comedi_driver driver_amplc_pc236 = {170170+static struct comedi_driver driver_amplc_pc236 = {171171 driver_name:PC236_DRIVER_NAME,172172 module:THIS_MODULE,173173 attach:pc236_attach,
+2-2
drivers/staging/comedi/drivers/amplc_pc263.c
···127127#endif /* CONFIG_COMEDI_PCI */128128129129/*130130- * The comedi_driver structure tells the Comedi core module130130+ * The struct comedi_driver structure tells the Comedi core module131131 * which functions to call to configure/deconfigure (attach/detach)132132 * the board, and also about the kernel module that contains133133 * the device code.134134 */135135static int pc263_attach(struct comedi_device * dev, comedi_devconfig * it);136136static int pc263_detach(struct comedi_device * dev);137137-static comedi_driver driver_amplc_pc263 = {137137+static struct comedi_driver driver_amplc_pc263 = {138138 driver_name:PC263_DRIVER_NAME,139139 module:THIS_MODULE,140140 attach:pc263_attach,
+2-2
drivers/staging/comedi/drivers/amplc_pci224.c
···421421#define devpriv ((pci224_private *)dev->private)422422423423/*424424- * The comedi_driver structure tells the Comedi core module424424+ * The struct comedi_driver structure tells the Comedi core module425425 * which functions to call to configure/deconfigure (attach/detach)426426 * the board, and also about the kernel module that contains427427 * the device code.428428 */429429static int pci224_attach(struct comedi_device * dev, comedi_devconfig * it);430430static int pci224_detach(struct comedi_device * dev);431431-static comedi_driver driver_amplc_pci224 = {431431+static struct comedi_driver driver_amplc_pci224 = {432432 driver_name:DRIVER_NAME,433433 module:THIS_MODULE,434434 attach:pci224_attach,
+2-2
drivers/staging/comedi/drivers/amplc_pci230.c
···596596static const unsigned char pci230_ao_bipolar[2] = { 0, 1 };597597598598/*599599- * The comedi_driver structure tells the Comedi core module599599+ * The struct comedi_driver structure tells the Comedi core module600600 * which functions to call to configure/deconfigure (attach/detach)601601 * the board, and also about the kernel module that contains602602 * the device code.603603 */604604static int pci230_attach(struct comedi_device * dev, comedi_devconfig * it);605605static int pci230_detach(struct comedi_device * dev);606606-static comedi_driver driver_amplc_pci230 = {606606+static struct comedi_driver driver_amplc_pci230 = {607607 driver_name:"amplc_pci230",608608 module:THIS_MODULE,609609 attach:pci230_attach,
···435435#define devpriv ((cb_pcidas_private *)dev->private)436436437437/*438438- * The comedi_driver structure tells the Comedi core module438438+ * The struct comedi_driver structure tells the Comedi core module439439 * which functions to call to configure/deconfigure (attach/detach)440440 * the board, and also about the kernel module that contains441441 * the device code.442442 */443443static int cb_pcidas_attach(struct comedi_device * dev, comedi_devconfig * it);444444static int cb_pcidas_detach(struct comedi_device * dev);445445-static comedi_driver driver_cb_pcidas = {445445+static struct comedi_driver driver_cb_pcidas = {446446 driver_name:"cb_pcidas",447447 module:THIS_MODULE,448448 attach:cb_pcidas_attach,
···249249 unsigned int range);250250251251/*252252- * The comedi_driver structure tells the Comedi core module252252+ * The struct comedi_driver structure tells the Comedi core module253253 * which functions to call to configure/deconfigure (attach/detach)254254 * the board, and also about the kernel module that contains255255 * the device code.256256 */257257-static comedi_driver driver_cb_pcidda = {257257+static struct comedi_driver driver_cb_pcidda = {258258 driver_name:"cb_pcidda",259259 module:THIS_MODULE,260260 attach:cb_pcidda_attach,
+2-2
drivers/staging/comedi/drivers/cb_pcidio.c
···122122#define devpriv ((pcidio_private *)dev->private)123123124124/*125125- * The comedi_driver structure tells the Comedi core module125125+ * The struct comedi_driver structure tells the Comedi core module126126 * which functions to call to configure/deconfigure (attach/detach)127127 * the board, and also about the kernel module that contains128128 * the device code.129129 */130130static int pcidio_attach(struct comedi_device * dev, comedi_devconfig * it);131131static int pcidio_detach(struct comedi_device * dev);132132-static comedi_driver driver_cb_pcidio = {132132+static struct comedi_driver driver_cb_pcidio = {133133 driver_name:"cb_pcidio",134134 module:THIS_MODULE,135135 attach:pcidio_attach,
+2-2
drivers/staging/comedi/drivers/cb_pcimdas.c
···170170#define devpriv ((cb_pcimdas_private *)dev->private)171171172172/*173173- * The comedi_driver structure tells the Comedi core module173173+ * The struct comedi_driver structure tells the Comedi core module174174 * which functions to call to configure/deconfigure (attach/detach)175175 * the board, and also about the kernel module that contains176176 * the device code.177177 */178178static int cb_pcimdas_attach(struct comedi_device * dev, comedi_devconfig * it);179179static int cb_pcimdas_detach(struct comedi_device * dev);180180-static comedi_driver driver_cb_pcimdas = {180180+static struct comedi_driver driver_cb_pcimdas = {181181 driver_name:"cb_pcimdas",182182 module:THIS_MODULE,183183 attach:cb_pcimdas_attach,
+2-2
drivers/staging/comedi/drivers/cb_pcimdda.c
···176176#define devpriv ((private *)dev->private)177177178178/*179179- * The comedi_driver structure tells the Comedi core module179179+ * The struct comedi_driver structure tells the Comedi core module180180 * which functions to call to configure/deconfigure (attach/detach)181181 * the board, and also about the kernel module that contains182182 * the device code.183183 */184184static int attach(struct comedi_device * dev, comedi_devconfig * it);185185static int detach(struct comedi_device * dev);186186-static comedi_driver cb_pcimdda_driver = {186186+static struct comedi_driver cb_pcimdda_driver = {187187 driver_name:"cb_pcimdda",188188 module:THIS_MODULE,189189 attach:attach,
+3-3
drivers/staging/comedi/drivers/comedi_bond.c
···5959 * Devices: a full list of the boards that attempt to be supported by6060 * the driver. Format is "(manufacturer) board name [comedi name]",6161 * where comedi_name is the name that is used to configure the board.6262- * See the comment near board_name: in the comedi_driver structure6262+ * See the comment near board_name: in the struct comedi_driver structure6363 * below. If (manufacturer) or [comedi name] is missing, the previous6464 * value is used.6565 * Author: you···171171#define devpriv ((struct Private *)dev->private)172172173173/*174174- * The comedi_driver structure tells the Comedi core module174174+ * The struct comedi_driver structure tells the Comedi core module175175 * which functions to call to configure/deconfigure (attach/detach)176176 * the board, and also about the kernel module that contains177177 * the device code.···185185 * what can I say? I like to do wasteful memcopies.. :) */186186static void *Realloc(const void *ptr, size_t len, size_t old_len);187187188188-static comedi_driver driver_bonding = {188188+static struct comedi_driver driver_bonding = {189189 .driver_name = MODULE_NAME,190190 .module = THIS_MODULE,191191 .attach = bonding_attach,
···4646 * Devices: a full list of the boards that attempt to be supported by4747 * the driver. Format is "(manufacturer) board name [comedi name]",4848 * where comedi_name is the name that is used to configure the board.4949- * See the comment near board_name: in the comedi_driver structure4949+ * See the comment near board_name: in the struct comedi_driver structure5050 * below. If (manufacturer) or [comedi name] is missing, the previous5151 * value is used.5252 * Author: you···253253#define devpriv ((dmm32at_private *)dev->private)254254255255/*256256- * The comedi_driver structure tells the Comedi core module256256+ * The struct comedi_driver structure tells the Comedi core module257257 * which functions to call to configure/deconfigure (attach/detach)258258 * the board, and also about the kernel module that contains259259 * the device code.260260 */261261static int dmm32at_attach(struct comedi_device * dev, comedi_devconfig * it);262262static int dmm32at_detach(struct comedi_device * dev);263263-static comedi_driver driver_dmm32at = {263263+static struct comedi_driver driver_dmm32at = {264264 driver_name:"dmm32at",265265 module:THIS_MODULE,266266 attach:dmm32at_attach,
···100100#define devpriv ((pcmda12_private *)(dev->private))101101102102/*103103- * The comedi_driver structure tells the Comedi core module103103+ * The struct comedi_driver structure tells the Comedi core module104104 * which functions to call to configure/deconfigure (attach/detach)105105 * the board, and also about the kernel module that contains106106 * the device code.···110110111111static void zero_chans(struct comedi_device * dev);112112113113-static comedi_driver driver = {113113+static struct comedi_driver driver = {114114 driver_name:"pcmda12",115115 module:THIS_MODULE,116116 attach:pcmda12_attach,
+2-2
drivers/staging/comedi/drivers/pcmmio.c
···259259#define devpriv ((pcmmio_private *)dev->private)260260#define subpriv ((pcmmio_subdev_private *)s->private)261261/*262262- * The comedi_driver structure tells the Comedi core module262262+ * The struct comedi_driver structure tells the Comedi core module263263 * which functions to call to configure/deconfigure (attach/detach)264264 * the board, and also about the kernel module that contains265265 * the device code.···267267static int pcmmio_attach(struct comedi_device * dev, comedi_devconfig * it);268268static int pcmmio_detach(struct comedi_device * dev);269269270270-static comedi_driver driver = {270270+static struct comedi_driver driver = {271271 driver_name:"pcmmio",272272 module:THIS_MODULE,273273 attach:pcmmio_attach,
+2-2
drivers/staging/comedi/drivers/pcmuio.c
···217217#define devpriv ((pcmuio_private *)dev->private)218218#define subpriv ((pcmuio_subdev_private *)s->private)219219/*220220- * The comedi_driver structure tells the Comedi core module220220+ * The struct comedi_driver structure tells the Comedi core module221221 * which functions to call to configure/deconfigure (attach/detach)222222 * the board, and also about the kernel module that contains223223 * the device code.···225225static int pcmuio_attach(struct comedi_device * dev, comedi_devconfig * it);226226static int pcmuio_detach(struct comedi_device * dev);227227228228-static comedi_driver driver = {228228+static struct comedi_driver driver = {229229 driver_name:"pcmuio",230230 module:THIS_MODULE,231231 attach:pcmuio_attach,
···675675 readb (devpriv->lcfg+LCFG_DMACSR1)676676677677/*678678- * The comedi_driver structure tells the Comedi core module678678+ * The struct comedi_driver structure tells the Comedi core module679679 * which functions to call to configure/deconfigure (attac/detach)680680 * the board, and also about the kernel module that contains681681 * the device code.···683683static int rtd_attach(struct comedi_device *dev, comedi_devconfig *it);684684static int rtd_detach(struct comedi_device *dev);685685686686-static comedi_driver rtd520Driver = {686686+static struct comedi_driver rtd520Driver = {687687 driver_name: DRV_NAME,688688 module : THIS_MODULE,689689 attach : rtd_attach,
···210210#define devpriv ((s526_private *)dev->private)211211212212/*213213- * The comedi_driver structure tells the Comedi core module213213+ * The struct comedi_driver structure tells the Comedi core module214214 * which functions to call to configure/deconfigure (attach/detach)215215 * the board, and also about the kernel module that contains216216 * the device code.217217 */218218static int s526_attach(struct comedi_device * dev, comedi_devconfig * it);219219static int s526_detach(struct comedi_device * dev);220220-static comedi_driver driver_s526 = {220220+static struct comedi_driver driver_s526 = {221221 driver_name:"s526",222222 module:THIS_MODULE,223223 attach:s526_attach,
···4444 * Devices: a full list of the boards that attempt to be supported by4545 * the driver. Format is "(manufacturer) board name [comedi name]",4646 * where comedi_name is the name that is used to configure the board.4747- * See the comment near board_name: in the comedi_driver structure4747+ * See the comment near board_name: in the struct comedi_driver structure4848 * below. If (manufacturer) or [comedi name] is missing, the previous4949 * value is used.5050 * Author: you···146146#define devpriv ((skel_private *)dev->private)147147148148/*149149- * The comedi_driver structure tells the Comedi core module149149+ * The struct comedi_driver structure tells the Comedi core module150150 * which functions to call to configure/deconfigure (attach/detach)151151 * the board, and also about the kernel module that contains152152 * the device code.153153 */154154static int skel_attach(struct comedi_device * dev, comedi_devconfig * it);155155static int skel_detach(struct comedi_device * dev);156156-static comedi_driver driver_skel = {156156+static struct comedi_driver driver_skel = {157157 driver_name:"dummy",158158 module:THIS_MODULE,159159 attach:skel_attach,
+2-2
drivers/staging/comedi/drivers/ssv_dnp.c
···8080#define devpriv ((dnp_private *)dev->private)81818282/* ------------------------------------------------------------------------- */8383-/* The comedi_driver structure tells the Comedi core module which functions */8383+/* The struct comedi_driver structure tells the Comedi core module which functions */8484/* to call to configure/deconfigure (attach/detach) the board, and also */8585/* about the kernel module that contains the device code. */8686/* */···9090static int dnp_attach(struct comedi_device * dev, comedi_devconfig * it);9191static int dnp_detach(struct comedi_device * dev);92929393-static comedi_driver driver_dnp = {9393+static struct comedi_driver driver_dnp = {9494 driver_name:"ssv_dnp",9595 module:THIS_MODULE,9696 attach:dnp_attach,