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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/io/acpi/acpidev/acpidev_drv.c
          +++ new/usr/src/uts/i86pc/io/acpi/acpidev/acpidev_drv.c
↓ open down ↓ 97 lines elided ↑ open up ↑
  98   98  /* DDI module auto configuration interface */
  99   99  extern struct mod_ops mod_miscops;
 100  100  
 101  101  static struct modlmisc modlmisc = {
 102  102          &mod_miscops,
 103  103          "ACPI device enumerator"
 104  104  };
 105  105  
 106  106  static struct modlinkage modlinkage = {
 107  107          MODREV_1,
 108      -        (void *)&modlmisc,
 109      -        NULL
      108 +        { (void *)&modlmisc, NULL }
 110  109  };
 111  110  
 112  111  int
 113  112  _init(void)
 114  113  {
 115  114          int err;
 116  115  
 117  116          if ((err = mod_install(&modlinkage)) == 0) {
 118  117                  bzero(acpidev_object_type_mask,
 119  118                      sizeof (acpidev_object_type_mask));
↓ open down ↓ 1081 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX