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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/openprom.c
          +++ new/usr/src/uts/common/io/openprom.c
↓ open down ↓ 134 lines elided ↑ open up ↑
 135  135   * Module linkage information for the kernel.
 136  136   */
 137  137  static struct modldrv modldrv = {
 138  138          &mod_driverops,
 139  139          "OPENPROM/NVRAM Driver",
 140  140          &openeepr_ops
 141  141  };
 142  142  
 143  143  static struct modlinkage modlinkage = {
 144  144          MODREV_1,
 145      -        &modldrv,
 146      -        NULL
      145 +        { &modldrv, NULL }
 147  146  };
 148  147  
 149  148  int
 150  149  _init(void)
 151  150  {
 152  151          int     error;
 153  152  
 154  153          mutex_init(&oprom_lock, NULL, MUTEX_DRIVER, NULL);
 155  154  
 156  155          error = mod_install(&modlinkage);
↓ open down ↓ 1267 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX