scc: Remove unused devclass arguments to DRIVER_MODULE.

This commit is contained in:
John Baldwin 2022-05-10 10:21:38 -07:00
parent 725fda594f
commit 76979b6275
4 changed files with 2 additions and 4 deletions

View File

@ -137,7 +137,6 @@ struct scc_softc {
uint32_t sc_hwsig; /* Signal state. Used by HW driver. */
};
extern devclass_t scc_devclass;
extern const char scc_driver_name[];
int scc_bfe_attach(device_t dev, u_int ipc);

View File

@ -93,4 +93,4 @@ static driver_t scc_macio_driver = {
sizeof(struct scc_softc),
};
DRIVER_MODULE(scc, macio, scc_macio_driver, scc_devclass, NULL, NULL);
DRIVER_MODULE(scc, macio, scc_macio_driver, NULL, NULL);

View File

@ -98,4 +98,4 @@ static driver_t scc_quicc_driver = {
sizeof(struct scc_softc),
};
DRIVER_MODULE(scc, quicc, scc_quicc_driver, scc_devclass, NULL, NULL);
DRIVER_MODULE(scc, quicc, scc_quicc_driver, NULL, NULL);

View File

@ -49,7 +49,6 @@ __FBSDID("$FreeBSD$");
#include "scc_if.h"
devclass_t scc_devclass;
const char scc_driver_name[] = "scc";
static MALLOC_DEFINE(M_SCC, "SCC", "SCC driver");