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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/xen/io/xnbe.c
          +++ new/usr/src/uts/common/xen/io/xnbe.c
↓ open down ↓ 133 lines elided ↑ open up ↑
 134  134          (struct bus_ops *)0,    /* devo_bus_ops */
 135  135          NULL,                   /* devo_power */
 136  136          ddi_quiesce_not_needed,         /* devo_quiesce */
 137  137  };
 138  138  
 139  139  static struct modldrv modldrv = {
 140  140          &mod_driverops, "xnbe driver", &ops,
 141  141  };
 142  142  
 143  143  static struct modlinkage modlinkage = {
 144      -        MODREV_1, &modldrv, NULL
      144 +        MODREV_1, { &modldrv, NULL }
 145  145  };
 146  146  
 147  147  int
 148  148  _init(void)
 149  149  {
 150  150          return (mod_install(&modlinkage));
 151  151  }
 152  152  
 153  153  int
 154  154  _info(struct modinfo *modinfop)
 155  155  {
 156  156          return (mod_info(&modlinkage, modinfop));
 157  157  }
 158  158  
 159  159  int
 160  160  _fini(void)
 161  161  {
 162  162          return (mod_remove(&modlinkage));
 163  163  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX