adlink: Remove unused devclass argument to DRIVER_MODULE.
This commit is contained in:
parent
0a763c165f
commit
69a5757280
@ -344,8 +344,6 @@ adlink_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int fflag, struct threa
|
|||||||
return (error);
|
return (error);
|
||||||
}
|
}
|
||||||
|
|
||||||
static devclass_t adlink_devclass;
|
|
||||||
|
|
||||||
struct pci_id
|
struct pci_id
|
||||||
{
|
{
|
||||||
uint16_t vendor;
|
uint16_t vendor;
|
||||||
@ -437,7 +435,7 @@ static driver_t adlink_driver = {
|
|||||||
sizeof(struct softc)
|
sizeof(struct softc)
|
||||||
};
|
};
|
||||||
|
|
||||||
DRIVER_MODULE(adlink, pci, adlink_driver, adlink_devclass, 0, 0);
|
DRIVER_MODULE(adlink, pci, adlink_driver, 0, 0);
|
||||||
MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, adlink, adlink_id,
|
MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, adlink, adlink_id,
|
||||||
nitems(adlink_id));
|
nitems(adlink_id));
|
||||||
#endif /* _KERNEL */
|
#endif /* _KERNEL */
|
||||||
|
Loading…
Reference in New Issue
Block a user