git: bae71ad33238 - main - dwc_hdmi: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 May 2022 17:36:41 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=bae71ad33238249edd62923529e2ce758e15bbc5
commit bae71ad33238249edd62923529e2ce758e15bbc5
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-10 17:21:39 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-10 17:21:39 +0000
dwc_hdmi: Remove unused devclass argument to DRIVER_MODULE.
---
sys/dev/hdmi/dwc_hdmi_fdt.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/sys/dev/hdmi/dwc_hdmi_fdt.c b/sys/dev/hdmi/dwc_hdmi_fdt.c
index 2bf717082f71..4486e83f1a73 100644
--- a/sys/dev/hdmi/dwc_hdmi_fdt.c
+++ b/sys/dev/hdmi/dwc_hdmi_fdt.c
@@ -196,7 +196,4 @@ static driver_t dwc_hdmi_fdt_driver = {
sizeof(struct dwc_hdmi_fdt_softc)
};
-static devclass_t dwc_hdmi_fdt_devclass;
-
-DRIVER_MODULE(dwc_hdmi_fdt, simplebus, dwc_hdmi_fdt_driver,
- dwc_hdmi_fdt_devclass, 0, 0);
+DRIVER_MODULE(dwc_hdmi_fdt, simplebus, dwc_hdmi_fdt_driver, 0, 0);