drivers/goodfet.c: initialize driver struct
This commit is contained in:
parent
1bfb30ab59
commit
7cbc37c633
|
@ -528,6 +528,7 @@ static device_t goodfet_open(const struct device_args *args)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
memset(gc, 0, sizeof(*gc));
|
||||||
gc->base.type = &device_goodfet;
|
gc->base.type = &device_goodfet;
|
||||||
gc->base.max_breakpoints = 0;
|
gc->base.max_breakpoints = 0;
|
||||||
gc->base.need_probe = 1;
|
gc->base.need_probe = 1;
|
||||||
|
|
Loading…
Reference in New Issue