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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/io/ppm/acpippm.c
          +++ new/usr/src/uts/i86pc/io/ppm/acpippm.c
↓ open down ↓ 104 lines elided ↑ open up ↑
 105  105  extern struct mod_ops mod_driverops;
 106  106  
 107  107  static struct modldrv modldrv = {
 108  108          &mod_driverops,
 109  109          "ACPI ppm driver",
 110  110          &appm_ops,
 111  111  };
 112  112  
 113  113  static struct modlinkage modlinkage = {
 114  114          MODREV_1,
 115      -        &modldrv,
 116      -        NULL
      115 +        { &modldrv, NULL }
 117  116  };
 118  117  
 119  118  /*
 120  119   * Driver state structure
 121  120   */
 122  121  typedef struct {
 123  122          dev_info_t              *dip;
 124  123          ddi_acc_handle_t        devid_hndl;
 125  124          ddi_acc_handle_t        estar_hndl;
 126  125          int                     lyropen;                /* ref count */
↓ open down ↓ 329 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX