pmic: rockchip: Rename the driver with _pmu as it was before

This commit is contained in:
Emmanuel Vadot 2021-11-14 20:20:13 +01:00
parent 79554f2b6c
commit 91a908e051
2 changed files with 10 additions and 10 deletions

View File

@ -187,14 +187,14 @@ static device_method_t rk805_methods[] = {
DEVMETHOD_END
};
DEFINE_CLASS_1(rk805, rk805_driver, rk805_methods,
DEFINE_CLASS_1(rk805_pmu, rk805_driver, rk805_methods,
sizeof(struct rk8xx_softc), rk8xx_driver);
static devclass_t rk805_devclass;
EARLY_DRIVER_MODULE(rk805, iicbus, rk805_driver, rk805_devclass, 0, 0,
EARLY_DRIVER_MODULE(rk805_pmu, iicbus, rk805_driver, rk805_devclass, 0, 0,
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LAST);
EARLY_DRIVER_MODULE(iicbus, rk805, iicbus_driver, iicbus_devclass, 0, 0,
EARLY_DRIVER_MODULE(iicbus, rk805_pmu, iicbus_driver, iicbus_devclass, 0, 0,
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LAST);
MODULE_DEPEND(rk805, iicbus, IICBUS_MINVER, IICBUS_PREFVER, IICBUS_MAXVER);
MODULE_VERSION(rk805, 1);
MODULE_DEPEND(rk805_pmu, iicbus, IICBUS_MINVER, IICBUS_PREFVER, IICBUS_MAXVER);
MODULE_VERSION(rk805_pmu, 1);

View File

@ -262,14 +262,14 @@ static device_method_t rk808_methods[] = {
DEVMETHOD_END
};
DEFINE_CLASS_1(rk808, rk808_driver, rk808_methods,
DEFINE_CLASS_1(rk808_pmu, rk808_driver, rk808_methods,
sizeof(struct rk8xx_softc), rk8xx_driver);
static devclass_t rk808_devclass;
EARLY_DRIVER_MODULE(rk808, iicbus, rk808_driver, rk808_devclass, 0, 0,
EARLY_DRIVER_MODULE(rk808_pmu, iicbus, rk808_driver, rk808_devclass, 0, 0,
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LAST);
EARLY_DRIVER_MODULE(iicbus, rk808, iicbus_driver, iicbus_devclass, 0, 0,
EARLY_DRIVER_MODULE(iicbus, rk808_pmu, iicbus_driver, iicbus_devclass, 0, 0,
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LAST);
MODULE_DEPEND(rk808, iicbus, IICBUS_MINVER, IICBUS_PREFVER, IICBUS_MAXVER);
MODULE_VERSION(rk808, 1);
MODULE_DEPEND(rk808_pmu, iicbus, IICBUS_MINVER, IICBUS_PREFVER, IICBUS_MAXVER);
MODULE_VERSION(rk808_pmu, 1);