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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/xen/io/xnbu.c
          +++ new/usr/src/uts/common/xen/io/xnbu.c
↓ open down ↓ 489 lines elided ↑ open up ↑
 490  490  }
 491  491  
 492  492  DDI_DEFINE_STREAM_OPS(ops, nulldev, nulldev, xnbu_attach, xnbu_detach,
 493  493      nodev, NULL, D_MP, NULL, ddi_quiesce_not_supported);
 494  494  
 495  495  static struct modldrv modldrv = {
 496  496          &mod_driverops, "xnbu driver", &ops
 497  497  };
 498  498  
 499  499  static struct modlinkage modlinkage = {
 500      -        MODREV_1, &modldrv, NULL
      500 +        MODREV_1, { &modldrv, NULL }
 501  501  };
 502  502  
 503  503  int
 504  504  _init(void)
 505  505  {
 506  506          int i;
 507  507  
 508  508          mac_init_ops(&ops, "xnbu");
 509  509  
 510  510          i = mod_install(&modlinkage);
↓ open down ↓ 23 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX