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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/usb/usb_mid/usb_mid.c
          +++ new/usr/src/uts/common/io/usb/usb_mid/usb_mid.c
↓ open down ↓ 184 lines elided ↑ open up ↑
 185  185          ddi_quiesce_not_needed,         /* quiesce */
 186  186  };
 187  187  
 188  188  static struct modldrv modldrv = {
 189  189          &mod_driverops, /* Type of module. This one is a driver */
 190  190          "USB Multi Interface Driver", /* Name of the module. */
 191  191          &usb_mid_ops,   /* driver ops */
 192  192  };
 193  193  
 194  194  static struct modlinkage modlinkage = {
 195      -        MODREV_1, (void *)&modldrv, NULL
      195 +        MODREV_1, { (void *)&modldrv, NULL }
 196  196  };
 197  197  
 198  198  #define USB_MID_INITIAL_SOFT_SPACE 4
 199  199  static  void    *usb_mid_statep;
 200  200  
 201  201  
 202  202  /*
 203  203   * prototypes
 204  204   */
 205  205  static void usb_mid_create_children(usb_mid_t *usb_mid);
↓ open down ↓ 1354 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX