mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 22:32:30 +01:00
stand: Use c99 structure initialization for fwohci device
Use c99 structure init for devsw. Sponsored by: Netflix
This commit is contained in:
parent
4c460aaf83
commit
bf855d1bf2
@ -76,15 +76,15 @@ static void fw_cleanup(void);
|
|||||||
void fw_enable(void);
|
void fw_enable(void);
|
||||||
|
|
||||||
struct devsw fwohci = {
|
struct devsw fwohci = {
|
||||||
"FW1394", /* 7 chars at most */
|
.dv_name = "FW1394", /* 7 chars at most */
|
||||||
DEVT_NET,
|
.dv_type = DEVT_NET,
|
||||||
fw_init,
|
.dv_init = fw_init,
|
||||||
fw_strategy,
|
.dv_strategy = fw_strategy,
|
||||||
fw_open,
|
.dv_open = fw_open,
|
||||||
fw_close,
|
.dv_close = fw_close,
|
||||||
noioctl,
|
.dv_ioctl = noioctl,
|
||||||
fw_print,
|
.dv_print = fw_print,
|
||||||
fw_cleanup
|
.dv_cleanup = fw_cleanup,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct fwohci_softc fwinfo[MAX_OHCI];
|
static struct fwohci_softc fwinfo[MAX_OHCI];
|
||||||
|
Loading…
Reference in New Issue
Block a user