acpi_support: Remove unused devclass arguments to DRIVER_MODULE.
This commit is contained in:
parent
be2750862d
commit
90161e72ee
@ -529,9 +529,7 @@ static driver_t acpi_asus_driver = {
|
||||
sizeof(struct acpi_asus_softc)
|
||||
};
|
||||
|
||||
static devclass_t acpi_asus_devclass;
|
||||
|
||||
DRIVER_MODULE(acpi_asus, acpi, acpi_asus_driver, acpi_asus_devclass, 0, 0);
|
||||
DRIVER_MODULE(acpi_asus, acpi, acpi_asus_driver, 0, 0);
|
||||
MODULE_DEPEND(acpi_asus, acpi, 1, 1, 1);
|
||||
|
||||
static int
|
||||
|
@ -289,10 +289,7 @@ static driver_t acpi_asus_wmi_driver = {
|
||||
sizeof(struct acpi_asus_wmi_softc),
|
||||
};
|
||||
|
||||
static devclass_t acpi_asus_wmi_devclass;
|
||||
|
||||
DRIVER_MODULE(acpi_asus_wmi, acpi_wmi, acpi_asus_wmi_driver,
|
||||
acpi_asus_wmi_devclass, 0, 0);
|
||||
DRIVER_MODULE(acpi_asus_wmi, acpi_wmi, acpi_asus_wmi_driver, 0, 0);
|
||||
MODULE_DEPEND(acpi_asus_wmi, acpi_wmi, 1, 1, 1);
|
||||
MODULE_DEPEND(acpi_asus_wmi, acpi, 1, 1, 1);
|
||||
|
||||
|
@ -216,9 +216,7 @@ static struct {
|
||||
{ NULL, 0, NULL }
|
||||
};
|
||||
|
||||
static devclass_t acpi_fujitsu_devclass;
|
||||
DRIVER_MODULE(acpi_fujitsu, acpi, acpi_fujitsu_driver,
|
||||
acpi_fujitsu_devclass, 0, 0);
|
||||
DRIVER_MODULE(acpi_fujitsu, acpi, acpi_fujitsu_driver, 0, 0);
|
||||
MODULE_DEPEND(acpi_fujitsu, acpi, 1, 1, 1);
|
||||
MODULE_VERSION(acpi_fujitsu, 1);
|
||||
|
||||
|
@ -349,10 +349,7 @@ static driver_t acpi_hp_driver = {
|
||||
sizeof(struct acpi_hp_softc),
|
||||
};
|
||||
|
||||
static devclass_t acpi_hp_devclass;
|
||||
|
||||
DRIVER_MODULE(acpi_hp, acpi_wmi, acpi_hp_driver, acpi_hp_devclass,
|
||||
0, 0);
|
||||
DRIVER_MODULE(acpi_hp, acpi_wmi, acpi_hp_driver, 0, 0);
|
||||
MODULE_DEPEND(acpi_hp, acpi_wmi, 1, 1, 1);
|
||||
MODULE_DEPEND(acpi_hp, acpi, 1, 1, 1);
|
||||
|
||||
|
@ -363,9 +363,7 @@ static driver_t acpi_ibm_driver = {
|
||||
sizeof(struct acpi_ibm_softc),
|
||||
};
|
||||
|
||||
static devclass_t acpi_ibm_devclass;
|
||||
|
||||
DRIVER_MODULE(acpi_ibm, acpi, acpi_ibm_driver, acpi_ibm_devclass, 0, 0);
|
||||
DRIVER_MODULE(acpi_ibm, acpi, acpi_ibm_driver, 0, 0);
|
||||
MODULE_DEPEND(acpi_ibm, acpi, 1, 1, 1);
|
||||
static char *ibm_ids[] = {"IBM0068", "LEN0068", "LEN0268", NULL};
|
||||
|
||||
|
@ -128,10 +128,7 @@ static driver_t acpi_panasonic_driver = {
|
||||
sizeof(struct acpi_panasonic_softc),
|
||||
};
|
||||
|
||||
static devclass_t acpi_panasonic_devclass;
|
||||
|
||||
DRIVER_MODULE(acpi_panasonic, acpi, acpi_panasonic_driver,
|
||||
acpi_panasonic_devclass, 0, 0);
|
||||
DRIVER_MODULE(acpi_panasonic, acpi, acpi_panasonic_driver, 0, 0);
|
||||
MODULE_DEPEND(acpi_panasonic, acpi, 1, 1, 1);
|
||||
|
||||
static int
|
||||
|
@ -135,8 +135,5 @@ static driver_t acpi_rapidstart_driver = {
|
||||
sizeof(struct acpi_rapidstart_softc),
|
||||
};
|
||||
|
||||
static devclass_t acpi_rapidstart_devclass;
|
||||
|
||||
DRIVER_MODULE(acpi_rapidstart, acpi, acpi_rapidstart_driver, acpi_rapidstart_devclass,
|
||||
0, 0);
|
||||
DRIVER_MODULE(acpi_rapidstart, acpi, acpi_rapidstart_driver, 0, 0);
|
||||
MODULE_DEPEND(acpi_rapidstart, acpi, 1, 1, 1);
|
||||
|
@ -104,10 +104,7 @@ static driver_t acpi_sony_driver = {
|
||||
sizeof(struct acpi_sony_softc),
|
||||
};
|
||||
|
||||
static devclass_t acpi_sony_devclass;
|
||||
|
||||
DRIVER_MODULE(acpi_sony, acpi, acpi_sony_driver, acpi_sony_devclass,
|
||||
0, 0);
|
||||
DRIVER_MODULE(acpi_sony, acpi, acpi_sony_driver, 0, 0);
|
||||
MODULE_DEPEND(acpi_sony, acpi, 1, 1, 1);
|
||||
static char *sny_id[] = {"SNY5001", NULL};
|
||||
|
||||
|
@ -181,9 +181,7 @@ static driver_t acpi_toshiba_driver = {
|
||||
sizeof(struct acpi_toshiba_softc),
|
||||
};
|
||||
|
||||
static devclass_t acpi_toshiba_devclass;
|
||||
DRIVER_MODULE(acpi_toshiba, acpi, acpi_toshiba_driver, acpi_toshiba_devclass,
|
||||
0, 0);
|
||||
DRIVER_MODULE(acpi_toshiba, acpi, acpi_toshiba_driver, 0, 0);
|
||||
MODULE_DEPEND(acpi_toshiba, acpi, 1, 1, 1);
|
||||
|
||||
static device_method_t acpi_toshiba_video_methods[] = {
|
||||
@ -199,9 +197,7 @@ static driver_t acpi_toshiba_video_driver = {
|
||||
0,
|
||||
};
|
||||
|
||||
static devclass_t acpi_toshiba_video_devclass;
|
||||
DRIVER_MODULE(acpi_toshiba_video, acpi, acpi_toshiba_video_driver,
|
||||
acpi_toshiba_video_devclass, 0, 0);
|
||||
DRIVER_MODULE(acpi_toshiba_video, acpi, acpi_toshiba_video_driver, 0, 0);
|
||||
MODULE_DEPEND(acpi_toshiba_video, acpi, 1, 1, 1);
|
||||
|
||||
static int enable_fn_keys = 1;
|
||||
|
@ -196,8 +196,7 @@ static driver_t acpi_wmi_driver = {
|
||||
sizeof(struct acpi_wmi_softc),
|
||||
};
|
||||
|
||||
static devclass_t acpi_wmi_devclass;
|
||||
DRIVER_MODULE(acpi_wmi, acpi, acpi_wmi_driver, acpi_wmi_devclass, 0, 0);
|
||||
DRIVER_MODULE(acpi_wmi, acpi, acpi_wmi_driver, 0, 0);
|
||||
MODULE_VERSION(acpi_wmi, 1);
|
||||
MODULE_DEPEND(acpi_wmi, acpi, 1, 1, 1);
|
||||
static char *wmi_ids[] = {"PNP0C14", NULL};
|
||||
|
@ -109,9 +109,7 @@ static driver_t aibs_driver = {
|
||||
sizeof(struct aibs_softc)
|
||||
};
|
||||
|
||||
static devclass_t aibs_devclass;
|
||||
|
||||
DRIVER_MODULE(aibs, acpi, aibs_driver, aibs_devclass, NULL, NULL);
|
||||
DRIVER_MODULE(aibs, acpi, aibs_driver, NULL, NULL);
|
||||
MODULE_DEPEND(aibs, acpi, 1, 1, 1);
|
||||
|
||||
static char* aibs_hids[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user