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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/usb/hubd/hubd.c
          +++ new/usr/src/uts/common/io/usb/hubd/hubd.c
↓ open down ↓ 79 lines elided ↑ open up ↑
  80   80          ddi_quiesce_not_needed,         /* quiesce */
  81   81  };
  82   82  
  83   83  static struct modldrv modldrv = {
  84   84          &mod_driverops, /* Type of module. This one is a driver */
  85   85          "USB Hub Driver", /* Name of the module. */
  86   86          &hubd_ops,      /* driver ops */
  87   87  };
  88   88  
  89   89  static struct modlinkage modlinkage = {
  90      -        MODREV_1, (void *)&modldrv, NULL
       90 +        MODREV_1, { (void *)&modldrv, NULL }
  91   91  };
  92   92  
  93   93  
  94   94  extern void *hubd_statep;
  95   95  
  96   96  int
  97   97  _init(void)
  98   98  {
  99   99          int rval;
 100  100  
↓ open down ↓ 107 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX