Remove unused iicbb_devclass.
This commit is contained in:
parent
fb9f63e88e
commit
8c13dd83a3
@ -130,7 +130,7 @@ driver_t lkpi_iicbb_driver = {
|
||||
};
|
||||
|
||||
DRIVER_MODULE(lkpi_iicbb, lkpi_iic, lkpi_iicbb_driver, lkpi_iicbb_devclass, 0, 0);
|
||||
DRIVER_MODULE(iicbb, lkpi_iicbb, iicbb_driver, iicbb_devclass, 0, 0);
|
||||
DRIVER_MODULE(iicbb, lkpi_iicbb, iicbb_driver, 0, 0);
|
||||
MODULE_DEPEND(lkpi_iicbb, iicbb, IICBB_MINVER, IICBB_PREFVER, IICBB_MAXVER);
|
||||
|
||||
static void
|
||||
|
@ -371,6 +371,6 @@ static driver_t gpioiic_driver = {
|
||||
|
||||
DRIVER_MODULE(gpioiic, gpiobus, gpioiic_driver, gpioiic_devclass, 0, 0);
|
||||
DRIVER_MODULE(gpioiic, simplebus, gpioiic_driver, gpioiic_devclass, 0, 0);
|
||||
DRIVER_MODULE(iicbb, gpioiic, iicbb_driver, iicbb_devclass, 0, 0);
|
||||
DRIVER_MODULE(iicbb, gpioiic, iicbb_driver, 0, 0);
|
||||
MODULE_DEPEND(gpioiic, iicbb, IICBB_MINVER, IICBB_PREFVER, IICBB_MAXVER);
|
||||
MODULE_DEPEND(gpioiic, gpiobus, 1, 1, 1);
|
||||
|
@ -132,8 +132,6 @@ driver_t iicbb_driver = {
|
||||
sizeof(struct iicbb_softc),
|
||||
};
|
||||
|
||||
devclass_t iicbb_devclass;
|
||||
|
||||
static int
|
||||
iicbb_probe(device_t dev)
|
||||
{
|
||||
|
@ -173,7 +173,6 @@ int iicdev_writeto(device_t _slavedev, uint8_t _regaddr, void *_buffer,
|
||||
#define IICBUS_PREFVER IICBUS_MODVER
|
||||
|
||||
extern driver_t iicbb_driver;
|
||||
extern devclass_t iicbb_devclass;
|
||||
|
||||
#define IICBB_MODVER 1
|
||||
#define IICBB_MINVER 1
|
||||
|
@ -264,7 +264,7 @@ static driver_t lpbb_driver = {
|
||||
};
|
||||
|
||||
DRIVER_MODULE(lpbb, ppbus, lpbb_driver, lpbb_devclass, 0, 0);
|
||||
DRIVER_MODULE(iicbb, lpbb, iicbb_driver, iicbb_devclass, 0, 0);
|
||||
DRIVER_MODULE(iicbb, lpbb, iicbb_driver, 0, 0);
|
||||
MODULE_DEPEND(lpbb, ppbus, 1, 1, 1);
|
||||
MODULE_DEPEND(lpbb, iicbb, IICBB_MINVER, IICBB_PREFVER, IICBB_MAXVER);
|
||||
MODULE_VERSION(lpbb, 1);
|
||||
|
@ -1005,7 +1005,7 @@ static driver_t viapropm_driver = {
|
||||
|
||||
DRIVER_MODULE(viapm, pci, viapm_driver, viapm_devclass, 0, 0);
|
||||
DRIVER_MODULE(viapropm, pci, viapropm_driver, viapropm_devclass, 0, 0);
|
||||
DRIVER_MODULE(iicbb, viapm, iicbb_driver, iicbb_devclass, 0, 0);
|
||||
DRIVER_MODULE(iicbb, viapm, iicbb_driver, 0, 0);
|
||||
DRIVER_MODULE(smbus, viapropm, smbus_driver, smbus_devclass, 0, 0);
|
||||
|
||||
MODULE_DEPEND(viapm, pci, 1, 1, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user