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


 984 static struct dev_ops mm_ops = {
 985         DEVO_REV,               /* devo_rev, */
 986         0,                      /* refcnt  */
 987         mm_info,                /* get_dev_info */
 988         nulldev,                /* identify */
 989         nulldev,                /* probe */
 990         mm_attach,              /* attach */
 991         nodev,                  /* detach */
 992         nodev,                  /* reset */
 993         &mm_cb_ops,         /* driver operations */
 994         (struct bus_ops *)0,    /* bus operations */
 995         NULL,                   /* power */
 996         ddi_quiesce_not_needed,         /* quiesce */
 997 };
 998 
 999 static struct modldrv modldrv = {
1000         &mod_driverops, "memory driver", &mm_ops,
1001 };
1002 
1003 static struct modlinkage modlinkage = {
1004         MODREV_1, &modldrv, NULL
1005 };
1006 
1007 int
1008 _init(void)
1009 {
1010         return (mod_install(&modlinkage));
1011 }
1012 
1013 int
1014 _info(struct modinfo *modinfop)
1015 {
1016         return (mod_info(&modlinkage, modinfop));
1017 }
1018 
1019 int
1020 _fini(void)
1021 {
1022         return (mod_remove(&modlinkage));
1023 }
1024 




 984 static struct dev_ops mm_ops = {
 985         DEVO_REV,               /* devo_rev, */
 986         0,                      /* refcnt  */
 987         mm_info,                /* get_dev_info */
 988         nulldev,                /* identify */
 989         nulldev,                /* probe */
 990         mm_attach,              /* attach */
 991         nodev,                  /* detach */
 992         nodev,                  /* reset */
 993         &mm_cb_ops,         /* driver operations */
 994         (struct bus_ops *)0,    /* bus operations */
 995         NULL,                   /* power */
 996         ddi_quiesce_not_needed,         /* quiesce */
 997 };
 998 
 999 static struct modldrv modldrv = {
1000         &mod_driverops, "memory driver", &mm_ops,
1001 };
1002 
1003 static struct modlinkage modlinkage = {
1004         MODREV_1, { &modldrv, NULL }
1005 };
1006 
1007 int
1008 _init(void)
1009 {
1010         return (mod_install(&modlinkage));
1011 }
1012 
1013 int
1014 _info(struct modinfo *modinfop)
1015 {
1016         return (mod_info(&modlinkage, modinfop));
1017 }
1018 
1019 int
1020 _fini(void)
1021 {
1022         return (mod_remove(&modlinkage));
1023 }
1024