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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86xpv/io/privcmd.c
          +++ new/usr/src/uts/i86xpv/io/privcmd.c
↓ open down ↓ 381 lines elided ↑ open up ↑
 382  382  };
 383  383  
 384  384  static struct modldrv modldrv = {
 385  385          &mod_driverops,
 386  386          "privcmd driver",
 387  387          &privcmd_dv_ops
 388  388  };
 389  389  
 390  390  static struct modlinkage modl = {
 391  391          MODREV_1,
 392      -        &modldrv
      392 +        { &modldrv, NULL }
 393  393  };
 394  394  
 395  395  int
 396  396  _init(void)
 397  397  {
 398  398          return (mod_install(&modl));
 399  399  }
 400  400  
 401  401  int
 402  402  _fini(void)
 403  403  {
 404  404          return (mod_remove(&modl));
 405  405  }
 406  406  
 407  407  int
 408  408  _info(struct modinfo *modinfo)
 409  409  {
 410  410          return (mod_info(&modl, modinfo));
 411  411  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX