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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/ath/ath_main.c
          +++ new/usr/src/uts/common/io/ath/ath_main.c
↓ open down ↓ 2489 lines elided ↑ open up ↑
2490 2490  DDI_DEFINE_STREAM_OPS(ath_dev_ops, nulldev, nulldev, ath_attach, ath_detach,
2491 2491      nodev, NULL, D_MP, NULL, ath_quiesce);
2492 2492  
2493 2493  static struct modldrv ath_modldrv = {
2494 2494          &mod_driverops,         /* Type of module.  This one is a driver */
2495 2495          "ath driver 1.4/HAL 0.10.5.6",          /* short description */
2496 2496          &ath_dev_ops            /* driver specific ops */
2497 2497  };
2498 2498  
2499 2499  static struct modlinkage modlinkage = {
2500      -        MODREV_1, (void *)&ath_modldrv, NULL
     2500 +        MODREV_1, { (void *)&ath_modldrv, NULL }
2501 2501  };
2502 2502  
2503 2503  
2504 2504  int
2505 2505  _info(struct modinfo *modinfop)
2506 2506  {
2507 2507          return (mod_info(&modlinkage, modinfop));
2508 2508  }
2509 2509  
2510 2510  int
↓ open down ↓ 36 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX