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


 607 static struct dev_ops ipmi_ops = {
 608         DEVO_REV,
 609         0,                      /* reference count */
 610         ipmi_info,
 611         nulldev,                /* identify */
 612         nulldev,                /* probe */
 613         ipmi_attach,
 614         ipmi_detach,
 615         nodev,                  /* reset */
 616         &ipmi_cb_ops,
 617         NULL,                   /* bus ops */
 618         NULL,                   /* power */
 619         ddi_quiesce_not_needed,
 620 };
 621 
 622 static struct modldrv md = {
 623         &mod_driverops, "ipmi driver", &ipmi_ops
 624 };
 625 
 626 static struct modlinkage ml = {
 627         MODREV_1, &md, NULL
 628 };
 629 
 630 int
 631 _init(void)
 632 {
 633         return (mod_install(&ml));
 634 }
 635 
 636 int
 637 _fini(void)
 638 {
 639         return (mod_remove(&ml));
 640 }
 641 
 642 int
 643 _info(struct modinfo *mip)
 644 {
 645         return (mod_info(&ml, mip));
 646 }


 607 static struct dev_ops ipmi_ops = {
 608         DEVO_REV,
 609         0,                      /* reference count */
 610         ipmi_info,
 611         nulldev,                /* identify */
 612         nulldev,                /* probe */
 613         ipmi_attach,
 614         ipmi_detach,
 615         nodev,                  /* reset */
 616         &ipmi_cb_ops,
 617         NULL,                   /* bus ops */
 618         NULL,                   /* power */
 619         ddi_quiesce_not_needed,
 620 };
 621 
 622 static struct modldrv md = {
 623         &mod_driverops, "ipmi driver", &ipmi_ops
 624 };
 625 
 626 static struct modlinkage ml = {
 627         MODREV_1, { &md, NULL }
 628 };
 629 
 630 int
 631 _init(void)
 632 {
 633         return (mod_install(&ml));
 634 }
 635 
 636 int
 637 _fini(void)
 638 {
 639         return (mod_remove(&ml));
 640 }
 641 
 642 int
 643 _info(struct modinfo *mip)
 644 {
 645         return (mod_info(&ml, mip));
 646 }