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/audio810/audio810.c
          +++ new/usr/src/uts/common/io/audio/drv/audio810/audio810.c
↓ open down ↓ 170 lines elided ↑ open up ↑
 171  171  
 172  172  /* Linkage structure for loadable drivers */
 173  173  static struct modldrv audio810_modldrv = {
 174  174          &mod_driverops,         /* drv_modops */
 175  175          I810_MOD_NAME,          /* drv_linkinfo */
 176  176          &audio810_dev_ops,      /* drv_dev_ops */
 177  177  };
 178  178  
 179  179  /* Module linkage structure */
 180  180  static struct modlinkage audio810_modlinkage = {
 181      -        MODREV_1,                       /* ml_rev */
 182      -        (void *)&audio810_modldrv,      /* ml_linkage */
 183      -        NULL                            /* NULL terminates the list */
      181 +        MODREV_1,                               /* ml_rev */
      182 +        { (void *)&audio810_modldrv, NULL }     /* ml_linkage */
 184  183  };
 185  184  
 186  185  /*
 187  186   * device access attributes for register mapping
 188  187   */
 189  188  static struct ddi_device_acc_attr dev_attr = {
 190  189          DDI_DEVICE_ATTR_V0,
 191  190          DDI_STRUCTURE_LE_ACC,
 192  191          DDI_STRICTORDER_ACC
 193  192  };
↓ open down ↓ 1482 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX