Print this page
fixup .text where possible
7127  remove -Wno-missing-braces from Makefile.uts


 133         nulldev,                /* probe */
 134         tavor_attach,           /* attach */
 135         tavor_detach,           /* detach */
 136         nodev,                  /* reset */
 137         &tavor_cb_ops,              /* cb_ops */
 138         NULL,                   /* bus_ops */
 139         nodev,                  /* power */
 140         tavor_quiesce,          /* devo_quiesce */
 141 };
 142 
 143 /* Module Driver Info */
 144 static struct modldrv tavor_modldrv = {
 145         &mod_driverops,
 146         "Tavor InfiniBand HCA Driver",
 147         &tavor_ops
 148 };
 149 
 150 /* Module Linkage */
 151 static struct modlinkage tavor_modlinkage = {
 152         MODREV_1,
 153         &tavor_modldrv,
 154         NULL
 155 };
 156 
 157 /*
 158  * This extern refers to the ibc_operations_t function vector that is defined
 159  * in the tavor_ci.c file.
 160  */
 161 extern ibc_operations_t tavor_ibc_ops;
 162 
 163 #ifndef NPROBE
 164 extern int tnf_mod_load(void);
 165 extern int tnf_mod_unload(struct modlinkage *mlp);
 166 #endif
 167 
 168 
 169 /*
 170  * _init()
 171  */
 172 int
 173 _init()
 174 {




 133         nulldev,                /* probe */
 134         tavor_attach,           /* attach */
 135         tavor_detach,           /* detach */
 136         nodev,                  /* reset */
 137         &tavor_cb_ops,              /* cb_ops */
 138         NULL,                   /* bus_ops */
 139         nodev,                  /* power */
 140         tavor_quiesce,          /* devo_quiesce */
 141 };
 142 
 143 /* Module Driver Info */
 144 static struct modldrv tavor_modldrv = {
 145         &mod_driverops,
 146         "Tavor InfiniBand HCA Driver",
 147         &tavor_ops
 148 };
 149 
 150 /* Module Linkage */
 151 static struct modlinkage tavor_modlinkage = {
 152         MODREV_1,
 153         {   &tavor_modldrv,
 154             NULL }
 155 };
 156 
 157 /*
 158  * This extern refers to the ibc_operations_t function vector that is defined
 159  * in the tavor_ci.c file.
 160  */
 161 extern ibc_operations_t tavor_ibc_ops;
 162 
 163 #ifndef NPROBE
 164 extern int tnf_mod_load(void);
 165 extern int tnf_mod_unload(struct modlinkage *mlp);
 166 #endif
 167 
 168 
 169 /*
 170  * _init()
 171  */
 172 int
 173 _init()
 174 {