pccbb: Remove unused devclass argument to DRIVER_MODULE.

This commit is contained in:
John Baldwin 2022-05-06 15:46:55 -07:00
parent b64711b6e7
commit 6ab0dfe50c
3 changed files with 1 additions and 4 deletions

View File

@ -124,8 +124,6 @@ __FBSDID("$FreeBSD$");
#define CBB_START_32_IO 0x1000
#define CBB_START_16_IO 0x100
devclass_t cbb_devclass;
/* sysctl vars */
static SYSCTL_NODE(_hw, OID_AUTO, cbb, CTLFLAG_RD | CTLFLAG_MPSAFE, 0,
"CBB parameters");

View File

@ -974,7 +974,7 @@ static driver_t cbb_driver = {
sizeof(struct cbb_softc)
};
DRIVER_MODULE(cbb, pci, cbb_driver, cbb_devclass, 0, 0);
DRIVER_MODULE(cbb, pci, cbb_driver, 0, 0);
MODULE_PNP_INFO("W32:vendor/device;D:#", pci, cbb, yc_chipsets,
nitems(yc_chipsets) - 1);
MODULE_DEPEND(cbb, exca, 1, 1, 1);

View File

@ -108,7 +108,6 @@ struct cbb_softc {
#define CARD_OFF (CARD_VCC(0))
extern int cbb_debug;
extern devclass_t cbb_devclass;
int cbb_activate_resource(device_t brdev, device_t child,
int type, int rid, struct resource *r);