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/openhci/ohci.c
          +++ new/usr/src/uts/common/io/usb/hcd/openhci/ohci.c
↓ open down ↓ 549 lines elided ↑ open up ↑
 550  550  /*
 551  551   * The USBA library must be loaded for this driver.
 552  552   */
 553  553  static struct modldrv modldrv = {
 554  554          &mod_driverops,         /* Type of module. This one is a driver */
 555  555          "USB OpenHCI Driver", /* Name of the module. */
 556  556          &ohci_ops,              /* Driver ops */
 557  557  };
 558  558  
 559  559  static struct modlinkage modlinkage = {
 560      -        MODREV_1, (void *)&modldrv, NULL
      560 +        MODREV_1, { (void *)&modldrv, NULL }
 561  561  };
 562  562  
 563  563  
 564  564  int
 565  565  _init(void)
 566  566  {
 567  567          int error;
 568  568  
 569  569          /* Initialize the soft state structures */
 570  570          if ((error = ddi_soft_state_init(&ohci_statep, sizeof (ohci_state_t),
↓ open down ↓ 10790 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX