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