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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/rge/rge_main.c
          +++ new/usr/src/uts/common/io/rge/rge_main.c
↓ open down ↓ 1968 lines elided ↑ open up ↑
1969 1969  DDI_DEFINE_STREAM_OPS(rge_dev_ops, nulldev, nulldev, rge_attach, rge_detach,
1970 1970      nodev, NULL, D_MP, NULL, rge_quiesce);
1971 1971  
1972 1972  static struct modldrv rge_modldrv = {
1973 1973          &mod_driverops,         /* Type of module.  This one is a driver */
1974 1974          rge_ident,              /* short description */
1975 1975          &rge_dev_ops            /* driver specific ops */
1976 1976  };
1977 1977  
1978 1978  static struct modlinkage modlinkage = {
1979      -        MODREV_1, (void *)&rge_modldrv, NULL
     1979 +        MODREV_1, { (void *)&rge_modldrv, NULL }
1980 1980  };
1981 1981  
1982 1982  
1983 1983  int
1984 1984  _info(struct modinfo *modinfop)
1985 1985  {
1986 1986          return (mod_info(&modlinkage, modinfop));
1987 1987  }
1988 1988  
1989 1989  int
↓ open down ↓ 26 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX