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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/usb/clients/usbser/usbftdi/usbser_uftdi.c
          +++ new/usr/src/uts/common/io/usb/clients/usbser/usbftdi/usbser_uftdi.c
↓ open down ↓ 145 lines elided ↑ open up ↑
 146  146  };
 147  147  
 148  148  static struct modldrv modldrv = {
 149  149          &mod_driverops,
 150  150          "FTDI FT232R USB UART driver",
 151  151          &uftdi_ops,
 152  152  };
 153  153  
 154  154  static struct modlinkage modlinkage = {
 155  155          MODREV_1,
 156      -        &modldrv
      156 +        { &modldrv, NULL }
 157  157  };
 158  158  
 159  159  int
 160  160  _init(void)
 161  161  {
 162  162          int error;
 163  163  
 164  164          if ((error = mod_install(&modlinkage)) != 0)
 165  165                  return (error);
 166  166          if ((error = ddi_soft_state_init(&usbser_uftdi_statep,
↓ open down ↓ 22 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX