arm/arm64 qualcomm: Remove unused devclass arguments to DRIVER_MODULE.

This commit is contained in:
John Baldwin 2022-05-09 14:26:45 -07:00
parent 289f133bd7
commit 9978ade498
3 changed files with 4 additions and 10 deletions

View File

@ -226,11 +226,9 @@ static device_method_t ipq4018_usb_hs_usbphy_methods[] = {
DEVMETHOD_END
};
static devclass_t ipq4018_usb_hs_usbphy_devclass;
static DEFINE_CLASS_0(ipq4018_usb_hs_usbphy, ipq4018_usb_hs_usbphy_driver,
ipq4018_usb_hs_usbphy_methods,
sizeof(struct ipq4018_usb_hs_phy_softc));
EARLY_DRIVER_MODULE(ipq4018_usb_hs_usbphy, simplebus,
ipq4018_usb_hs_usbphy_driver,
ipq4018_usb_hs_usbphy_devclass, NULL, NULL,
ipq4018_usb_hs_usbphy_driver, NULL, NULL,
BUS_PASS_TIMER + BUS_PASS_ORDER_LAST);

View File

@ -206,11 +206,9 @@ static device_method_t ipq4018_usb_ss_usbphy_methods[] = {
DEVMETHOD_END
};
static devclass_t ipq4018_usb_ss_usbphy_devclass;
static DEFINE_CLASS_0(ipq4018_usb_ss_usbphy, ipq4018_usb_ss_usbphy_driver,
ipq4018_usb_ss_usbphy_methods,
sizeof(struct ipq4018_usb_ss_phy_softc));
EARLY_DRIVER_MODULE(ipq4018_usb_ss_usbphy, simplebus,
ipq4018_usb_ss_usbphy_driver,
ipq4018_usb_ss_usbphy_devclass, NULL, NULL,
ipq4018_usb_ss_usbphy_driver, NULL, NULL,
BUS_PASS_TIMER + BUS_PASS_ORDER_LAST);

View File

@ -141,8 +141,6 @@ static driver_t qcom_gcc_driver = {
sizeof(struct qcom_gcc_softc),
};
static devclass_t qcom_gcc_devclass;
EARLY_DRIVER_MODULE(qcom_gcc, simplebus, qcom_gcc_driver, qcom_gcc_devclass,
0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
EARLY_DRIVER_MODULE(qcom_gcc, simplebus, qcom_gcc_driver, 0, 0,
BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
MODULE_VERSION(qcom_gcc, 1);