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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/devinfo.c
          +++ new/usr/src/uts/common/io/devinfo.c
↓ open down ↓ 375 lines elided ↑ open up ↑
 376  376   * Module linkage information for the kernel.
 377  377   */
 378  378  static struct modldrv modldrv = {
 379  379          &mod_driverops,
 380  380          "DEVINFO Driver",
 381  381          &di_ops
 382  382  };
 383  383  
 384  384  static struct modlinkage modlinkage = {
 385  385          MODREV_1,
 386      -        &modldrv,
 387      -        NULL
      386 +        { &modldrv, NULL }
 388  387  };
 389  388  
 390  389  int
 391  390  _init(void)
 392  391  {
 393  392          int     error;
 394  393  
 395  394          mutex_init(&di_lock, NULL, MUTEX_DRIVER, NULL);
 396  395  
 397  396          error = mod_install(&modlinkage);
↓ open down ↓ 3879 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX