Put cdevsw initialization on canonical format.
This commit is contained in:
parent
ca6b2d62e4
commit
3780674329
@ -217,9 +217,20 @@ static d_ioctl_t ciss_ioctl;
|
||||
#define CISS_CDEV_MAJOR 166
|
||||
|
||||
static struct cdevsw ciss_cdevsw = {
|
||||
ciss_open, ciss_close, noread, nowrite, ciss_ioctl,
|
||||
nopoll, nommap, nostrategy, "ciss", CISS_CDEV_MAJOR,
|
||||
nodump, nopsize, 0, nokqfilter
|
||||
/* open */ ciss_open,
|
||||
/* close */ ciss_close,
|
||||
/* read */ noread,
|
||||
/* write */ nowrite,
|
||||
/* ioctl */ ciss_ioctl,
|
||||
/* poll */ nopoll,
|
||||
/* mmap */ nommap,
|
||||
/* strategy */ nostrategy,
|
||||
/* name */ "ciss",
|
||||
/* maj */ CISS_CDEV_MAJOR,
|
||||
/* dump */ nodump,
|
||||
/* psize */ nopsize,
|
||||
/* flags */ 0,
|
||||
/* kqfilter */ nokqfilter
|
||||
};
|
||||
|
||||
/************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user