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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/yge/yge.c
          +++ new/usr/src/uts/common/io/yge/yge.c
↓ open down ↓ 3549 lines elided ↑ open up ↑
3550 3550   */
3551 3551  
3552 3552  static struct modldrv yge_modldrv = {
3553 3553          &mod_driverops,                 /* drv_modops */
3554 3554          "Yukon 2 Ethernet",             /* drv_linkinfo */
3555 3555          &yge_devops                     /* drv_dev_ops */
3556 3556  };
3557 3557  
3558 3558  static struct modlinkage yge_modlinkage = {
3559 3559          MODREV_1,               /* ml_rev */
3560      -        &yge_modldrv,           /* ml_linkage */
3561      -        NULL
     3560 +        { &yge_modldrv, NULL }  /* ml_linkage */
3562 3561  };
3563 3562  
3564 3563  /*
3565 3564   * DDI entry points.
3566 3565   */
3567 3566  int
3568 3567  _init(void)
3569 3568  {
3570 3569          int     rv;
3571 3570          mac_init_ops(&yge_devops, "yge");
↓ open down ↓ 21 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX