Use canonical form for cdevsw initialization.

This commit is contained in:
Poul-Henning Kamp 2003-03-02 18:47:38 +00:00
parent 5dfe609dd1
commit 6fee404efa

View file

@ -74,19 +74,19 @@ static d_ioctl_t acpiioctl;
#define CDEV_MAJOR 152
static struct cdevsw acpi_cdevsw = {
acpiopen,
acpiclose,
noread,
nowrite,
acpiioctl,
nopoll,
nommap,
nostrategy,
"acpi",
CDEV_MAJOR,
nodump,
nopsize,
0
/* open */ acpiopen,
/* close */ acpiclose,
/* read */ noread,
/* write */ nowrite,
/* ioctl */ acpiioctl,
/* poll */ nopoll,
/* mmap */ nommap,
/* strategy */ nostrategy,
/* name */ "acpi",
/* maj */ CDEV_MAJOR,
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0
};
static const char* sleep_state_names[] = {