mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
Use canonical name for cdevsw initialization.
This commit is contained in:
parent
6fee404efa
commit
7e5b777f98
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=111751
@ -153,19 +153,19 @@ DRIVER_MODULE(mly, pci, mly_pci_driver, mly_devclass, 0, 0);
|
||||
#define MLY_CDEV_MAJOR 158
|
||||
|
||||
static struct cdevsw mly_cdevsw = {
|
||||
mly_user_open,
|
||||
mly_user_close,
|
||||
noread,
|
||||
nowrite,
|
||||
mly_user_ioctl,
|
||||
nopoll,
|
||||
nommap,
|
||||
nostrategy,
|
||||
"mly",
|
||||
MLY_CDEV_MAJOR,
|
||||
nodump,
|
||||
nopsize,
|
||||
0
|
||||
/* open */ mly_user_open,
|
||||
/* close */ mly_user_close,
|
||||
/* read */ noread,
|
||||
/* write */ nowrite,
|
||||
/* ioctl */ mly_user_ioctl,
|
||||
/* poll */ nopoll,
|
||||
/* mmap */ nommap,
|
||||
/* strategy */ nostrategy,
|
||||
/* name */ "mly",
|
||||
/* maj */ MLY_CDEV_MAJOR,
|
||||
/* dump */ nodump,
|
||||
/* psize */ nopsize,
|
||||
/* flags */ 0
|
||||
};
|
||||
|
||||
/********************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user