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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/tphci.c
          +++ new/usr/src/uts/common/io/tphci.c
↓ open down ↓ 136 lines elided ↑ open up ↑
 137  137  extern struct mod_ops mod_driverops;
 138  138  
 139  139  static struct modldrv modldrv = {
 140  140          &mod_driverops,
 141  141          "test phci driver",
 142  142          &tphci_ops
 143  143  };
 144  144  
 145  145  static struct modlinkage modlinkage = {
 146  146          MODREV_1,
 147      -        &modldrv,
 148      -        NULL
      147 +        { &modldrv, NULL }
 149  148  };
 150  149  
 151  150  int
 152  151  _init(void)
 153  152  {
 154  153          int rval;
 155  154  
 156  155          if ((rval = ddi_soft_state_init(&tphci_state,
 157  156              sizeof (struct tphci_state), 2)) != 0) {
 158  157                  return (rval);
↓ open down ↓ 448 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX