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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/cpuid_drv.c
          +++ new/usr/src/uts/common/io/cpuid_drv.c
↓ open down ↓ 221 lines elided ↑ open up ↑
 222  222  };
 223  223  
 224  224  static struct modldrv modldrv = {
 225  225          &mod_driverops,
 226  226          "cpuid driver",
 227  227          &cpuid_dv_ops
 228  228  };
 229  229  
 230  230  static struct modlinkage modl = {
 231  231          MODREV_1,
 232      -        &modldrv
      232 +        { &modldrv, NULL }
 233  233  };
 234  234  
 235  235  int
 236  236  _init(void)
 237  237  {
 238  238          return (mod_install(&modl));
 239  239  }
 240  240  
 241  241  int
 242  242  _fini(void)
 243  243  {
 244  244          return (mod_remove(&modl));
 245  245  }
 246  246  
 247  247  int
 248  248  _info(struct modinfo *modinfo)
 249  249  {
 250  250          return (mod_info(&modl, modinfo));
 251  251  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX