Print this page
7127 remove -Wno-missing-braces from Makefile.uts
*** 174,184 ****
};
struct streamtab
kb8042_str_info = { &kb8042_rinit, &kb8042_winit, NULL, NULL };
! struct kb8042 Kdws = {0};
static dev_info_t *kb8042_dip = NULL;
static int kb8042_getinfo(dev_info_t *dip, ddi_info_cmd_t infocmd, void *arg,
void **result);
static int kb8042_attach(dev_info_t *, ddi_attach_cmd_t);
--- 174,184 ----
};
struct streamtab
kb8042_str_info = { &kb8042_rinit, &kb8042_winit, NULL, NULL };
! struct kb8042 Kdws = {{{NULL}}};
static dev_info_t *kb8042_dip = NULL;
static int kb8042_getinfo(dev_info_t *dip, ddi_info_cmd_t infocmd, void *arg,
void **result);
static int kb8042_attach(dev_info_t *, ddi_attach_cmd_t);
*** 232,243 ****
&kb8042_ops, /* driver ops */
};
static struct modlinkage modlinkage = {
MODREV_1,
! (void *) &modldrv,
! NULL
};
int
_init(void)
{
--- 232,242 ----
&kb8042_ops, /* driver ops */
};
static struct modlinkage modlinkage = {
MODREV_1,
! { (void *) &modldrv, NULL }
};
int
_init(void)
{