Print this page
7127  remove -Wno-missing-braces from Makefile.uts


 671         iwscnattach,            /* attach */
 672         nodev,                  /* detach */
 673         nodev,                  /* reset */
 674         &iwscn_cb_ops,              /* driver operations */
 675         NULL,                   /* bus operations */
 676         NULL,                   /* power */
 677         ddi_quiesce_not_needed,         /* quiesce */
 678 };
 679 
 680 /*
 681  * Module linkage information for the kernel.
 682  */
 683 static struct modldrv modldrv = {
 684         &mod_driverops, /* Type of module.  This one is a pseudo driver */
 685         "Workstation Redirection driver",
 686         &iwscn_ops, /* driver ops */
 687 };
 688 
 689 static struct modlinkage modlinkage = {
 690         MODREV_1,
 691         &modldrv,
 692         NULL
 693 };
 694 
 695 int
 696 _init(void)
 697 {
 698         return (mod_install(&modlinkage));
 699 }
 700 
 701 int
 702 _fini(void)
 703 {
 704         return (EBUSY);
 705 }
 706 
 707 int
 708 _info(struct modinfo *modinfop)
 709 {
 710         return (mod_info(&modlinkage, modinfop));
 711 }


 671         iwscnattach,            /* attach */
 672         nodev,                  /* detach */
 673         nodev,                  /* reset */
 674         &iwscn_cb_ops,              /* driver operations */
 675         NULL,                   /* bus operations */
 676         NULL,                   /* power */
 677         ddi_quiesce_not_needed,         /* quiesce */
 678 };
 679 
 680 /*
 681  * Module linkage information for the kernel.
 682  */
 683 static struct modldrv modldrv = {
 684         &mod_driverops, /* Type of module.  This one is a pseudo driver */
 685         "Workstation Redirection driver",
 686         &iwscn_ops, /* driver ops */
 687 };
 688 
 689 static struct modlinkage modlinkage = {
 690         MODREV_1,
 691         { &modldrv, NULL }

 692 };
 693 
 694 int
 695 _init(void)
 696 {
 697         return (mod_install(&modlinkage));
 698 }
 699 
 700 int
 701 _fini(void)
 702 {
 703         return (EBUSY);
 704 }
 705 
 706 int
 707 _info(struct modinfo *modinfop)
 708 {
 709         return (mod_info(&modlinkage, modinfop));
 710 }