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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/nulldriver.c
          +++ new/usr/src/uts/common/io/nulldriver.c
↓ open down ↓ 91 lines elided ↑ open up ↑
  92   92          (struct bus_ops *)0,            /* bus operations */
  93   93          NULL,                           /* power */
  94   94          ddi_quiesce_not_needed,         /* quiesce */
  95   95  };
  96   96  
  97   97  static struct modldrv modldrv = {
  98   98          &mod_driverops, "nulldriver 1.1", &nulldriver_dev_ops
  99   99  };
 100  100  
 101  101  static struct modlinkage modlinkage = {
 102      -        MODREV_1, &modldrv, NULL
      102 +        MODREV_1, { &modldrv, NULL }
 103  103  };
 104  104  
 105  105  int
 106  106  _init(void)
 107  107  {
 108  108          return (mod_install(&modlinkage));
 109  109  }
 110  110  
 111  111  int
 112  112  _fini(void)
↓ open down ↓ 68 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX