diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2022-05-06 22:46:55 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2022-05-06 22:46:55 +0000 |
| commit | 55771d1c0b65416e490239162769f9ccd3b29c1e (patch) | |
| tree | 244863cd7821cf960f063ecb246cf68da5a81d56 /sys/dev/puc | |
| parent | 6d5880906ecc768646ba7b0cbaba4babc27a44d8 (diff) | |
Diffstat (limited to 'sys/dev/puc')
| -rw-r--r-- | sys/dev/puc/puc.c | 1 | ||||
| -rw-r--r-- | sys/dev/puc/puc_bfe.h | 1 | ||||
| -rw-r--r-- | sys/dev/puc/puc_pci.c | 2 |
3 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/puc/puc.c b/sys/dev/puc/puc.c index e8130a5f2e9e..4df42d2c4f95 100644 --- a/sys/dev/puc/puc.c +++ b/sys/dev/puc/puc.c @@ -69,7 +69,6 @@ struct puc_port { int p_ipend; }; -devclass_t puc_devclass; const char puc_driver_name[] = "puc"; static MALLOC_DEFINE(M_PUC, "PUC", "PUC driver"); diff --git a/sys/dev/puc/puc_bfe.h b/sys/dev/puc/puc_bfe.h index 067a18ba1e71..0b079107538d 100644 --- a/sys/dev/puc/puc_bfe.h +++ b/sys/dev/puc/puc_bfe.h @@ -38,7 +38,6 @@ struct puc_port; extern const struct puc_cfg puc_pci_devices[]; -extern devclass_t puc_devclass; extern const char puc_driver_name[]; struct puc_bar { diff --git a/sys/dev/puc/puc_pci.c b/sys/dev/puc/puc_pci.c index 270634f299f8..96275a8f87fe 100644 --- a/sys/dev/puc/puc_pci.c +++ b/sys/dev/puc/puc_pci.c @@ -197,6 +197,6 @@ static driver_t puc_pci_driver = { sizeof(struct puc_softc), }; -DRIVER_MODULE(puc, pci, puc_pci_driver, puc_devclass, 0, 0); +DRIVER_MODULE(puc, pci, puc_pci_driver, 0, 0); MODULE_PNP_INFO("U16:vendor;U16:device;U16:#;U16:#;D:#", pci, puc, puc_pci_devices, nitems(puc_pci_devices) - 1); |
