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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/pcic.c
          +++ new/usr/src/uts/common/io/pcic.c
↓ open down ↓ 402 lines elided ↑ open up ↑
 403  403          NULL
 404  404  };
 405  405  
 406  406  static struct modldrv modldrv = {
 407  407          &mod_driverops,         /* Type of module. This one is a driver */
 408  408          "PCIC PCMCIA adapter driver",   /* Name of the module. */
 409  409          &pcic_devops,           /* driver ops */
 410  410  };
 411  411  
 412  412  static struct modlinkage modlinkage = {
 413      -        MODREV_1, (void *)&modldrv, NULL
      413 +        MODREV_1, { (void *)&modldrv, NULL }
 414  414  };
 415  415  
 416  416  int
 417  417  _init()
 418  418  {
 419  419          int stat;
 420  420  
 421  421          /* Allocate soft state */
 422  422          if ((stat = ddi_soft_state_init(&pcic_soft_state_p,
 423  423              SOFTC_SIZE, 2)) != DDI_SUCCESS)
↓ open down ↓ 4578 lines elided ↑ open up ↑
5002 5002  
5003 5003  static struct intel_regs cregs[] = {
5004 5004          {"misc-ctl1 ", 0x16, "\20\2VCC3\3PMI\4PSI\5SPKR\10INPACK"},
5005 5005          {"fifo      ", 0x17, "\20\6DIOP\7DMEMP\10EMPTY"},
5006 5006          {"misc-ctl2 ", 0x1e, "\20\1XCLK\2LOW\3SUSP\4CORE5V\5TCD\10RIOUT"},
5007 5007          {"chip-info ", 0x1f, "\20\6DUAL"},
5008 5008          {"IO-offlow0", 0x36},
5009 5009          {"IO-offhi0 ", 0x37},
5010 5010          {"IO-offlow1", 0x38},
5011 5011          {"IO-offhi1 ", 0x39},
5012      -        NULL,
     5012 +        {NULL}
5013 5013  };
5014 5014  
5015 5015  static struct intel_regs cxregs[] = {
5016 5016          {"ext-ctl-1 ", 0x03,
5017 5017                  "\20\1VCCLCK\2AUTOCLR\3LED\4INVIRQC\5INVIRQM\6PUC"},
5018 5018          {"misc-ctl3 ", 0x25, "\20\5HWSUSP"},
5019 5019          {"mem0-up   ", 0x05},
5020 5020          {"mem1-up   ", 0x06},
5021 5021          {"mem2-up   ", 0x07},
5022 5022          {"mem3-up   ", 0x08},
↓ open down ↓ 1848 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX