Print this page
fixup .text where possible
7127  remove -Wno-missing-braces from Makefile.uts


  93         cryptoadm_getinfo,      /* devo_getinfo */
  94         nulldev,                /* devo_identify */
  95         nulldev,                /* devo_probe */
  96         cryptoadm_attach,       /* devo_attach */
  97         cryptoadm_detach,       /* devo_detach */
  98         nodev,                  /* devo_reset */
  99         &cbops,                     /* devo_cb_ops */
 100         NULL,                   /* devo_bus_ops */
 101         NULL,                   /* devo_power */
 102         ddi_quiesce_not_needed,         /* devo_quiesce */
 103 };
 104 
 105 static struct modldrv modldrv = {
 106         &mod_driverops,                                     /* drv_modops */
 107         "Cryptographic Administrative Interface",       /* drv_linkinfo */
 108         &devops,
 109 };
 110 
 111 static struct modlinkage modlinkage = {
 112         MODREV_1,               /* ml_rev */
 113         &modldrv,           /* ml_linkage */
 114         NULL
 115 };
 116 
 117 static dev_info_t       *cryptoadm_dip = NULL;
 118 
 119 /*
 120  * DDI entry points.
 121  */
 122 int
 123 _init(void)
 124 {
 125         return (mod_install(&modlinkage));
 126 }
 127 
 128 int
 129 _fini(void)
 130 {
 131         return (mod_remove(&modlinkage));
 132 }
 133 
 134 int




  93         cryptoadm_getinfo,      /* devo_getinfo */
  94         nulldev,                /* devo_identify */
  95         nulldev,                /* devo_probe */
  96         cryptoadm_attach,       /* devo_attach */
  97         cryptoadm_detach,       /* devo_detach */
  98         nodev,                  /* devo_reset */
  99         &cbops,                     /* devo_cb_ops */
 100         NULL,                   /* devo_bus_ops */
 101         NULL,                   /* devo_power */
 102         ddi_quiesce_not_needed,         /* devo_quiesce */
 103 };
 104 
 105 static struct modldrv modldrv = {
 106         &mod_driverops,                                     /* drv_modops */
 107         "Cryptographic Administrative Interface",       /* drv_linkinfo */
 108         &devops,
 109 };
 110 
 111 static struct modlinkage modlinkage = {
 112         MODREV_1,               /* ml_rev */
 113         {   &modldrv,               /* ml_linkage */
 114             NULL }
 115 };
 116 
 117 static dev_info_t       *cryptoadm_dip = NULL;
 118 
 119 /*
 120  * DDI entry points.
 121  */
 122 int
 123 _init(void)
 124 {
 125         return (mod_install(&modlinkage));
 126 }
 127 
 128 int
 129 _fini(void)
 130 {
 131         return (mod_remove(&modlinkage));
 132 }
 133 
 134 int