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


 382         fipe_getinfo,           /* devo_getinfo */
 383         nulldev,                /* devo_identify */
 384         nulldev,                /* devo_probe */
 385         fipe_attach,            /* devo_attach */
 386         fipe_detach,            /* devo_detach */
 387         nodev,                  /* devo_reset */
 388         &fipe_cb_ops,               /* devo_cb_ops */
 389         NULL,                   /* devo_bus_ops */
 390         NULL,                   /* devo_power */
 391         &fipe_quiesce,              /* devo_quiesce */
 392 };
 393 
 394 static struct modldrv modldrv = {
 395         &mod_driverops,
 396         "Intel 5000/7300 memory controller driver",
 397         &fipe_ops
 398 };
 399 
 400 static struct modlinkage modlinkage = {
 401         MODREV_1,
 402         (void *)&modldrv,
 403         NULL
 404 };
 405 
 406 int
 407 _init(void)
 408 {
 409         fipe_drv_dip = NULL;
 410         mutex_init(&fipe_drv_lock, NULL, MUTEX_DRIVER, NULL);
 411 
 412         return (mod_install(&modlinkage));
 413 }
 414 
 415 int
 416 _info(struct modinfo *modinfop)
 417 {
 418         return (mod_info(&modlinkage, modinfop));
 419 }
 420 
 421 int
 422 _fini(void)
 423 {


 382         fipe_getinfo,           /* devo_getinfo */
 383         nulldev,                /* devo_identify */
 384         nulldev,                /* devo_probe */
 385         fipe_attach,            /* devo_attach */
 386         fipe_detach,            /* devo_detach */
 387         nodev,                  /* devo_reset */
 388         &fipe_cb_ops,               /* devo_cb_ops */
 389         NULL,                   /* devo_bus_ops */
 390         NULL,                   /* devo_power */
 391         &fipe_quiesce,              /* devo_quiesce */
 392 };
 393 
 394 static struct modldrv modldrv = {
 395         &mod_driverops,
 396         "Intel 5000/7300 memory controller driver",
 397         &fipe_ops
 398 };
 399 
 400 static struct modlinkage modlinkage = {
 401         MODREV_1,
 402         { (void *)&modldrv, NULL }

 403 };
 404 
 405 int
 406 _init(void)
 407 {
 408         fipe_drv_dip = NULL;
 409         mutex_init(&fipe_drv_lock, NULL, MUTEX_DRIVER, NULL);
 410 
 411         return (mod_install(&modlinkage));
 412 }
 413 
 414 int
 415 _info(struct modinfo *modinfop)
 416 {
 417         return (mod_info(&modlinkage, modinfop));
 418 }
 419 
 420 int
 421 _fini(void)
 422 {