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


 141         nulldev,                /* probe */
 142         ppm_attach,             /* attach */
 143         ppm_detach,             /* detach */
 144         nodev,                  /* reset */
 145         &ppm_cb_ops,                /* cb_ops */
 146         &ppm_bus_ops,               /* bus_ops */
 147         nulldev,                /* power */
 148         ddi_quiesce_not_needed,         /* quiesce */
 149 };
 150 
 151 extern struct mod_ops mod_driverops;
 152 
 153 static struct modldrv modldrv = {
 154         &mod_driverops,
 155         "platform pm driver",
 156         &ppm_ops
 157 };
 158 
 159 static struct modlinkage modlinkage = {
 160         MODREV_1,
 161         &modldrv,
 162         NULL
 163 };
 164 
 165 /*
 166  * Global data structure and variables
 167  */
 168 int     ppm_inst = -1;
 169 void    *ppm_statep;
 170 ppm_domain_t *ppm_domain_p;
 171 callb_id_t   *ppm_cprcb_id;
 172 static kmutex_t ppm_cpr_window_lock;    /* guard ppm_cpr_window_flag */
 173 static  boolean_t ppm_cpr_window_flag;  /* set indicating chpt-resume period */
 174 
 175 /* LED actions */
 176 #define PPM_LED_SOLIDON         0
 177 #define PPM_LED_BLINKING        1
 178 
 179 /*
 180  * Debug
 181  */
 182 #ifdef  DEBUG




 141         nulldev,                /* probe */
 142         ppm_attach,             /* attach */
 143         ppm_detach,             /* detach */
 144         nodev,                  /* reset */
 145         &ppm_cb_ops,                /* cb_ops */
 146         &ppm_bus_ops,               /* bus_ops */
 147         nulldev,                /* power */
 148         ddi_quiesce_not_needed,         /* quiesce */
 149 };
 150 
 151 extern struct mod_ops mod_driverops;
 152 
 153 static struct modldrv modldrv = {
 154         &mod_driverops,
 155         "platform pm driver",
 156         &ppm_ops
 157 };
 158 
 159 static struct modlinkage modlinkage = {
 160         MODREV_1,
 161         { &modldrv, NULL }

 162 };
 163 
 164 /*
 165  * Global data structure and variables
 166  */
 167 int     ppm_inst = -1;
 168 void    *ppm_statep;
 169 ppm_domain_t *ppm_domain_p;
 170 callb_id_t   *ppm_cprcb_id;
 171 static kmutex_t ppm_cpr_window_lock;    /* guard ppm_cpr_window_flag */
 172 static  boolean_t ppm_cpr_window_flag;  /* set indicating chpt-resume period */
 173 
 174 /* LED actions */
 175 #define PPM_LED_SOLIDON         0
 176 #define PPM_LED_BLINKING        1
 177 
 178 /*
 179  * Debug
 180  */
 181 #ifdef  DEBUG