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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/usb/hcd/ehci/ehci.c
          +++ new/usr/src/uts/common/io/usb/hcd/ehci/ehci.c
↓ open down ↓ 133 lines elided ↑ open up ↑
 134  134  /*
 135  135   * The USBA library must be loaded for this driver.
 136  136   */
 137  137  static struct modldrv modldrv = {
 138  138          &mod_driverops,         /* Type of module. This one is a driver */
 139  139          "USB EHCI Driver", /* Name of the module. */
 140  140          &ehci_ops,              /* Driver ops */
 141  141  };
 142  142  
 143  143  static struct modlinkage modlinkage = {
 144      -        MODREV_1, (void *)&modldrv, NULL
      144 +        MODREV_1, { (void *)&modldrv, NULL }
 145  145  };
 146  146  
 147  147  
 148  148  int
 149  149  _init(void)
 150  150  {
 151  151          int error;
 152  152  
 153  153          /* Initialize the soft state structures */
 154  154          if ((error = ddi_soft_state_init(&ehci_statep, sizeof (ehci_state_t),
↓ open down ↓ 1423 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX