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


  40         nulldev,
  41         NULL,
  42         NULL,
  43         nodev,
  44         NULL,
  45         NULL,
  46         NULL,
  47         ddi_quiesce_not_needed,         /* quiesce */
  48 };
  49 
  50 /*
  51  * Module linkage information for the kernel.
  52  */
  53 static struct modldrv modldrv = {
  54         &mod_driverops,
  55         "xVM rtls stub",
  56         &pv_rtls_ops
  57 };
  58 
  59 static struct modlinkage modlinkage = {
  60         MODREV_1, (void *)&modldrv, NULL
  61 };
  62 
  63 int
  64 _init(void)
  65 {
  66         return (mod_install(&modlinkage));
  67 }
  68 
  69 int
  70 _info(struct modinfo *modinfop)
  71 {
  72         return (mod_info(&modlinkage, modinfop));
  73 }
  74 
  75 int
  76 _fini(void)
  77 {
  78         return (EBUSY);
  79 }


  40         nulldev,
  41         NULL,
  42         NULL,
  43         nodev,
  44         NULL,
  45         NULL,
  46         NULL,
  47         ddi_quiesce_not_needed,         /* quiesce */
  48 };
  49 
  50 /*
  51  * Module linkage information for the kernel.
  52  */
  53 static struct modldrv modldrv = {
  54         &mod_driverops,
  55         "xVM rtls stub",
  56         &pv_rtls_ops
  57 };
  58 
  59 static struct modlinkage modlinkage = {
  60         MODREV_1, { (void *)&modldrv, NULL }
  61 };
  62 
  63 int
  64 _init(void)
  65 {
  66         return (mod_install(&modlinkage));
  67 }
  68 
  69 int
  70 _info(struct modinfo *modinfop)
  71 {
  72         return (mod_info(&modlinkage, modinfop));
  73 }
  74 
  75 int
  76 _fini(void)
  77 {
  78         return (EBUSY);
  79 }