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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/cardbus/cardbus.c
          +++ new/usr/src/uts/common/io/cardbus/cardbus.c
↓ open down ↓ 21 lines elided ↑ open up ↑
  22   22   * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  23   23   * Use is subject to license terms.
  24   24   */
  25   25  
  26   26  /*
  27   27   * Copyright (c)  * Copyright (c) 2001 Tadpole Technology plc
  28   28   * All rights reserved.
  29   29   * From "@(#)pcicfg.c   1.31    99/06/18 SMI"
  30   30   */
  31   31  
  32      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  33      -
  34   32  /*
  35   33   * Cardbus module
  36   34   */
  37   35  
  38   36  #include <sys/conf.h>
  39   37  #include <sys/modctl.h>
  40   38  
  41   39  #include <sys/pci.h>
  42   40  
  43   41  #include <sys/ddi.h>
↓ open down ↓ 116 lines elided ↑ open up ↑
 160  158   * Module linkage information for the kernel.
 161  159   */
 162  160  extern struct mod_ops mod_miscops;
 163  161  static struct modlmisc modlmisc = {
 164  162          &mod_miscops,
 165  163          "Cardbus Configurator support",
 166  164  };
 167  165  
 168  166  static struct modlinkage modlinkage = {
 169  167          MODREV_1,
 170      -        &modlmisc,
 171      -        NULL
      168 +        { &modlmisc, NULL }
 172  169  };
 173  170  
 174  171  int
 175  172  _init(void)
 176  173  {
 177  174          int error;
 178  175  
 179  176          error =  ddi_soft_state_init(&cardbus_state, sizeof (cbus_t), 0);
 180  177          if (error != 0)
 181  178                  return (error);
↓ open down ↓ 2348 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX