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/audio1575/audio1575.c
          +++ new/usr/src/uts/common/io/audio/drv/audio1575/audio1575.c
↓ open down ↓ 145 lines elided ↑ open up ↑
 146  146  
 147  147  /* Linkage structure for loadable drivers */
 148  148  static struct modldrv audio1575_modldrv = {
 149  149          &mod_driverops,         /* drv_modops */
 150  150          M1575_MOD_NAME,         /* drv_linkinfo */
 151  151          &audio1575_dev_ops,     /* drv_dev_ops */
 152  152  };
 153  153  
 154  154  /* Module linkage structure */
 155  155  static struct modlinkage audio1575_modlinkage = {
 156      -        MODREV_1,                       /* ml_rev */
 157      -        (void *)&audio1575_modldrv,     /* ml_linkage */
 158      -        NULL                            /* NULL terminates the list */
      156 +        MODREV_1,                               /* ml_rev */
      157 +        { (void *)&audio1575_modldrv, NULL }    /* ml_linkage */
 159  158  };
 160  159  
 161  160  
 162  161  /*
 163  162   * device access attributes for register mapping
 164  163   */
 165  164  static struct ddi_device_acc_attr dev_attr = {
 166  165          DDI_DEVICE_ATTR_V0,
 167  166          DDI_STRUCTURE_LE_ACC,
 168  167          DDI_STRICTORDER_ACC
↓ open down ↓ 1405 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX