stand: Use c99 structure initialization for md device
Use c99 structure init for devsw. Sponsored by: Netflix
This commit is contained in:
parent
08585e7799
commit
143452f760
@ -66,15 +66,14 @@ static int md_close(struct open_file *);
|
|||||||
static int md_print(int);
|
static int md_print(int);
|
||||||
|
|
||||||
struct devsw md_dev = {
|
struct devsw md_dev = {
|
||||||
"md",
|
.dv_name = "md",
|
||||||
DEVT_DISK,
|
.dv_type = DEVT_DISK,
|
||||||
md_init,
|
.dv_init = md_init,
|
||||||
md_strategy,
|
.dv_strategy = md_strategy,
|
||||||
md_open,
|
.dv_open = md_open,
|
||||||
md_close,
|
.dv_close = md_close,
|
||||||
noioctl,
|
.dv_ioctl = noioctl,
|
||||||
md_print,
|
.dv_print = md_print,
|
||||||
NULL
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
Loading…
Reference in New Issue
Block a user