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


  41 
  42 static struct streamtab drstab;
  43 
  44 static struct fmodsw fsw = {
  45         DRMODNAME,
  46         &drstab,
  47         D_MP
  48 };
  49 
  50 
  51 /*
  52  * Module linkage information for the kernel.
  53  */
  54 
  55 static struct modlstrmod modlstrmod = {
  56         &mod_strmodops, "dr compatibility for DLPI style 2 drivers", &fsw
  57 };
  58 
  59 
  60 static struct modlinkage modlinkage = {
  61         MODREV_1, &modlstrmod, NULL
  62 };
  63 
  64 
  65 int
  66 _init(void)
  67 {
  68         return (mod_install(&modlinkage));
  69 }
  70 
  71 int
  72 _fini(void)
  73 {
  74         return (mod_remove(&modlinkage));
  75 }
  76 
  77 int
  78 _info(struct modinfo *modinfop)
  79 {
  80         return (mod_info(&modlinkage, modinfop));
  81 }




  41 
  42 static struct streamtab drstab;
  43 
  44 static struct fmodsw fsw = {
  45         DRMODNAME,
  46         &drstab,
  47         D_MP
  48 };
  49 
  50 
  51 /*
  52  * Module linkage information for the kernel.
  53  */
  54 
  55 static struct modlstrmod modlstrmod = {
  56         &mod_strmodops, "dr compatibility for DLPI style 2 drivers", &fsw
  57 };
  58 
  59 
  60 static struct modlinkage modlinkage = {
  61         MODREV_1, { &modlstrmod, NULL }
  62 };
  63 
  64 
  65 int
  66 _init(void)
  67 {
  68         return (mod_install(&modlinkage));
  69 }
  70 
  71 int
  72 _fini(void)
  73 {
  74         return (mod_remove(&modlinkage));
  75 }
  76 
  77 int
  78 _info(struct modinfo *modinfop)
  79 {
  80         return (mod_info(&modlinkage, modinfop));
  81 }