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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/asy.c
          +++ new/usr/src/uts/common/io/asy.c
↓ open down ↓ 354 lines elided ↑ open up ↑
 355  355  };
 356  356  
 357  357  static struct modldrv modldrv = {
 358  358          &mod_driverops, /* Type of module.  This one is a driver */
 359  359          "ASY driver",
 360  360          &asy_ops,       /* driver ops */
 361  361  };
 362  362  
 363  363  static struct modlinkage modlinkage = {
 364  364          MODREV_1,
 365      -        (void *)&modldrv,
 366      -        NULL
      365 +        { (void *)&modldrv, NULL }
 367  366  };
 368  367  
 369  368  int
 370  369  _init(void)
 371  370  {
 372  371          int i;
 373  372  
 374  373          i = ddi_soft_state_init(&asy_soft_state, sizeof (struct asycom), 2);
 375  374          if (i == 0) {
 376  375                  mutex_init(&asy_glob_lock, NULL, MUTEX_DRIVER, NULL);
↓ open down ↓ 4449 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX