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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/pcmcia/pcs/pcs.c
          +++ new/usr/src/uts/common/pcmcia/pcs/pcs.c
↓ open down ↓ 55 lines elided ↑ open up ↑
  56   56  
  57   57  extern struct mod_ops mod_driverops;
  58   58  
  59   59  static struct modldrv modldrv = {
  60   60          &mod_driverops,         /* Type of module. This one is a driver */
  61   61          "PCMCIA Socket Driver", /* Name of the module. */
  62   62          &pcs_devops,            /* driver ops */
  63   63  };
  64   64  
  65   65  static struct modlinkage modlinkage = {
  66      -        MODREV_1, (void *)&modldrv, NULL
       66 +        MODREV_1, { (void *)&modldrv, NULL }
  67   67  };
  68   68  
  69   69  struct pcs_inst {
  70   70          dev_info_t *dip;
  71   71  } *pcs_instances;
  72   72  
  73   73  int
  74   74  _init()
  75   75  {
  76   76          int ret;
↓ open down ↓ 107 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX