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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/i8042.c
          +++ new/usr/src/uts/common/io/i8042.c
↓ open down ↓ 344 lines elided ↑ open up ↑
 345  345  #include <sys/modctl.h>
 346  346  extern struct mod_ops mod_driverops;
 347  347  
 348  348  static struct modldrv modldrv = {
 349  349          &mod_driverops,         /* Type of module.  This one is a driver */
 350  350          "i8042 nexus driver",   /* Name of module. */
 351  351          &i8042_ops,             /* driver ops */
 352  352  };
 353  353  
 354  354  static struct modlinkage modlinkage = {
 355      -        MODREV_1, (void *)&modldrv, NULL
      355 +        MODREV_1, { (void *)&modldrv, NULL }
 356  356  };
 357  357  
 358  358  int
 359  359  _init(void)
 360  360  {
 361  361          int e;
 362  362  
 363  363          /*
 364  364           * Install the module.
 365  365           */
↓ open down ↓ 1321 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX