fd/fdc: Remove unused devclass arguments to DRIVER_MODULE.
This commit is contained in:
parent
b15b1fc193
commit
7c146c0cbc
@ -1583,10 +1583,6 @@ fd_ioctl(struct g_provider *pp, u_long cmd, void *data, int fflag, struct thread
|
||||
/*
|
||||
* Configuration/initialization stuff, per controller.
|
||||
*/
|
||||
|
||||
devclass_t fdc_devclass;
|
||||
static devclass_t fd_devclass;
|
||||
|
||||
struct fdc_ivars {
|
||||
int fdunit;
|
||||
int fdtype;
|
||||
@ -2112,4 +2108,4 @@ fdc_modevent(module_t mod, int type, void *data)
|
||||
return (g_modevent(NULL, type, &g_fd_class));
|
||||
}
|
||||
|
||||
DRIVER_MODULE(fd, fdc, fd_driver, fd_devclass, fdc_modevent, 0);
|
||||
DRIVER_MODULE(fd, fdc, fd_driver, fdc_modevent, 0);
|
||||
|
@ -273,4 +273,4 @@ static driver_t fdc_acpi_driver = {
|
||||
sizeof(struct fdc_data)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(fdc, acpi, fdc_acpi_driver, fdc_devclass, 0, 0);
|
||||
DRIVER_MODULE(fdc, acpi, fdc_acpi_driver, 0, 0);
|
||||
|
@ -222,5 +222,5 @@ static driver_t fdc_driver = {
|
||||
sizeof(struct fdc_data)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(fdc, isa, fdc_driver, fdc_devclass, 0, 0);
|
||||
DRIVER_MODULE(fdc, isa, fdc_driver, 0, 0);
|
||||
ISA_PNP_INFO(fdc_ids);
|
||||
|
@ -70,8 +70,6 @@ struct fdc_data {
|
||||
struct proc *fdc_thread;
|
||||
};
|
||||
|
||||
extern devclass_t fdc_devclass;
|
||||
|
||||
enum fdc_device_ivars {
|
||||
FDC_IVAR_FDUNIT,
|
||||
FDC_IVAR_FDTYPE,
|
||||
|
Loading…
Reference in New Issue
Block a user