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

@@ -149,12 +149,11 @@
         &megasas_ops,           /* driver ops */
 };
 
 static struct modlinkage modlinkage = {
         MODREV_1,       /* ml_rev - must be MODREV_1 */
-        &modldrv,       /* ml_linkage */
-        NULL            /* end of driver linkage */
+        { &modldrv, NULL }      /* ml_linkage */
 };
 
 static struct ddi_device_acc_attr endian_attr = {
         DDI_DEVICE_ATTR_V1,
         DDI_STRUCTURE_LE_ACC,