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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/bl.c
          +++ new/usr/src/uts/common/io/bl.c
↓ open down ↓ 211 lines elided ↑ open up ↑
 212  212          (struct bus_ops *)0,    /* devo_bus_ops */
 213  213          NULL,                   /* devo_power */
 214  214          ddi_quiesce_not_needed,         /* devo_quiesce */
 215  215  };
 216  216  
 217  217  static struct modldrv modldrv = {
 218  218          &mod_driverops, "blacklist driver", &bl_ops,
 219  219  };
 220  220  
 221  221  static struct modlinkage modlinkage = {
 222      -        MODREV_1, &modldrv, NULL
      222 +        MODREV_1, { &modldrv, NULL }
 223  223  };
 224  224  
 225  225  int
 226  226  _init(void)
 227  227  {
 228  228          return (mod_install(&modlinkage));
 229  229  }
 230  230  
 231  231  int
 232  232  _info(struct modinfo *modinfop)
 233  233  {
 234  234          return (mod_info(&modlinkage, modinfop));
 235  235  }
 236  236  
 237  237  int
 238  238  _fini(void)
 239  239  {
 240  240          return (mod_remove(&modlinkage));
 241  241  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX