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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/audio/drv/audiots/audiots.c
          +++ new/usr/src/uts/common/io/audio/drv/audiots/audiots.c
↓ open down ↓ 217 lines elided ↑ open up ↑
 218  218  
 219  219  /* Linkage structure for loadable drivers */
 220  220  static struct modldrv audiots_modldrv = {
 221  221          &mod_driverops,         /* drv_modops */
 222  222          TS_MOD_NAME,            /* drv_linkinfo */
 223  223          &audiots_dev_ops        /* drv_dev_ops */
 224  224  };
 225  225  
 226  226  /* Module linkage structure */
 227  227  static struct modlinkage audiots_modlinkage = {
 228      -        MODREV_1,                       /* ml_rev */
 229      -        (void *)&audiots_modldrv,       /* ml_linkage */
 230      -        NULL                            /* NULL terminates the list */
      228 +        MODREV_1,                               /* ml_rev */
      229 +        { (void *)&audiots_modldrv, NULL }      /* ml_linkage */
 231  230  };
 232  231  
 233  232  
 234  233  /*
 235  234   * NOTE: Grover OBP v4.0.166 and rev G of the ALI Southbridge chip force the
 236  235   * audiots driver to use the upper 2 GB DMA address range. However to maintain
 237  236   * backwards compatibility with older systems/OBP, we're going to try the full
 238  237   * 4 GB DMA range.
 239  238   *
 240  239   * Eventually, this will be set back to using the proper high 2 GB DMA range.
↓ open down ↓ 1345 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX