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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/arn/arn_main.c
          +++ new/usr/src/uts/common/io/arn/arn_main.c
↓ open down ↓ 3498 lines elided ↑ open up ↑
3499 3499  DDI_DEFINE_STREAM_OPS(arn_dev_ops, nulldev, nulldev, arn_attach, arn_detach,
3500 3500      nodev, NULL, D_MP, NULL, arn_quiesce);
3501 3501  
3502 3502  static struct modldrv arn_modldrv = {
3503 3503          &mod_driverops, /* Type of module.  This one is a driver */
3504 3504          "arn-Atheros 9000 series driver:2.0", /* short description */
3505 3505          &arn_dev_ops /* driver specific ops */
3506 3506  };
3507 3507  
3508 3508  static struct modlinkage modlinkage = {
3509      -        MODREV_1, (void *)&arn_modldrv, NULL
     3509 +        MODREV_1, { (void *)&arn_modldrv, NULL }
3510 3510  };
3511 3511  
3512 3512  int
3513 3513  _info(struct modinfo *modinfop)
3514 3514  {
3515 3515          return (mod_info(&modlinkage, modinfop));
3516 3516  }
3517 3517  
3518 3518  int
3519 3519  _init(void)
↓ open down ↓ 33 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX