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


  78         0,                              /* devo_refcnt */
  79         radeon_info,                    /* devo_getinfo */
  80         nulldev,                        /* devo_identify */
  81         nulldev,                        /* devo_probe */
  82         radeon_attach,                  /* devo_attach */
  83         radeon_detach,                  /* devo_detach */
  84         nodev,                          /* devo_reset */
  85         &drm_cb_ops,                        /* devo_cb_ops */
  86         NULL,                           /* devo_bus_ops */
  87         NULL,                           /* power */
  88         ddi_quiesce_not_supported,      /* devo_quiesce */
  89 };
  90 
  91 static struct modldrv modldrv = {
  92         &mod_driverops,                     /* drv_modops */
  93         "radeon DRM driver",            /* drv_linkinfo */
  94         &radeon_dev_ops,                    /* drv_dev_ops */
  95 };
  96 
  97 static struct modlinkage modlinkage = {
  98         MODREV_1, (void *) &modldrv, NULL
  99 };
 100 
 101 
 102 /*
 103  * softstate head
 104  */
 105 static void     *radeon_statep;
 106 
 107 int
 108 _init(void)
 109 {
 110         int error;
 111 
 112         radeon_configure(&radeon_driver);
 113 
 114         if ((error = ddi_soft_state_init(&radeon_statep,
 115             sizeof (drm_device_t), DRM_MAX_INSTANCES)) != 0)
 116                 return (error);
 117 
 118         if ((error = mod_install(&modlinkage)) != 0) {




  78         0,                              /* devo_refcnt */
  79         radeon_info,                    /* devo_getinfo */
  80         nulldev,                        /* devo_identify */
  81         nulldev,                        /* devo_probe */
  82         radeon_attach,                  /* devo_attach */
  83         radeon_detach,                  /* devo_detach */
  84         nodev,                          /* devo_reset */
  85         &drm_cb_ops,                        /* devo_cb_ops */
  86         NULL,                           /* devo_bus_ops */
  87         NULL,                           /* power */
  88         ddi_quiesce_not_supported,      /* devo_quiesce */
  89 };
  90 
  91 static struct modldrv modldrv = {
  92         &mod_driverops,                     /* drv_modops */
  93         "radeon DRM driver",            /* drv_linkinfo */
  94         &radeon_dev_ops,                    /* drv_dev_ops */
  95 };
  96 
  97 static struct modlinkage modlinkage = {
  98         MODREV_1, { (void *) &modldrv, NULL }
  99 };
 100 
 101 
 102 /*
 103  * softstate head
 104  */
 105 static void     *radeon_statep;
 106 
 107 int
 108 _init(void)
 109 {
 110         int error;
 111 
 112         radeon_configure(&radeon_driver);
 113 
 114         if ((error = ddi_soft_state_init(&radeon_statep,
 115             sizeof (drm_device_t), DRM_MAX_INSTANCES)) != 0)
 116                 return (error);
 117 
 118         if ((error = mod_install(&modlinkage)) != 0) {