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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/xen/io/xnbo.c
          +++ new/usr/src/uts/common/xen/io/xnbo.c
↓ open down ↓ 712 lines elided ↑ open up ↑
 713  713          (struct bus_ops *)0,    /* devo_bus_ops */
 714  714          NULL,                   /* devo_power */
 715  715          ddi_quiesce_not_needed,         /* devo_quiesce */
 716  716  };
 717  717  
 718  718  static struct modldrv modldrv = {
 719  719          &mod_driverops, "xnbo driver", &ops,
 720  720  };
 721  721  
 722  722  static struct modlinkage modlinkage = {
 723      -        MODREV_1, &modldrv, NULL
      723 +        MODREV_1, { &modldrv, NULL }
 724  724  };
 725  725  
 726  726  int
 727  727  _init(void)
 728  728  {
 729  729          return (mod_install(&modlinkage));
 730  730  }
 731  731  
 732  732  int
 733  733  _info(struct modinfo *modinfop)
 734  734  {
 735  735          return (mod_info(&modlinkage, modinfop));
 736  736  }
 737  737  
 738  738  int
 739  739  _fini(void)
 740  740  {
 741  741          return (mod_remove(&modlinkage));
 742  742  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX