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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/io/cpunex.c
          +++ new/usr/src/uts/intel/io/cpunex.c
↓ open down ↓ 77 lines elided ↑ open up ↑
  78   78  };
  79   79  
  80   80  static struct modldrv modldrv = {
  81   81          &mod_driverops,
  82   82          "cpu nexus driver",
  83   83          &cpunex_ops
  84   84  };
  85   85  
  86   86  static struct modlinkage modlinkage = {
  87   87          MODREV_1,
  88      -        &modldrv,
  89      -        NULL
       88 +        { &modldrv, NULL }
  90   89  };
  91   90  
  92   91  /*
  93   92   * cpunex_bus_ctl()
  94   93   *    This routine implements nexus bus ctl operations. Of importance are
  95   94   *    DDI_CTLOPS_REPORTDEV, DDI_CTLOPS_INITCHILD, DDI_CTLOPS_UNINITCHILD
  96   95   *    and DDI_CTLOPS_POWER. For DDI_CTLOPS_INITCHILD, it tries to lookup
  97   96   *    reg property on the child node and builds and sets the name.
  98   97   */
  99   98  static int
↓ open down ↓ 98 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX