git: d1a9e9b9d83f - main - isp: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 22:43:33 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=d1a9e9b9d83f17e2989fe8782595da2ba8f609e1 commit d1a9e9b9d83f17e2989fe8782595da2ba8f609e1 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-20 16:42:32 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-06 22:39:31 +0000 isp: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/isp/isp_pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/isp/isp_pci.c b/sys/dev/isp/isp_pci.c index 01028ae140be..f21b6b4ef019 100644 --- a/sys/dev/isp/isp_pci.c +++ b/sys/dev/isp/isp_pci.c @@ -205,8 +205,8 @@ static device_method_t isp_pci_methods[] = { static driver_t isp_pci_driver = { "isp", isp_pci_methods, sizeof (struct isp_pcisoftc) }; -static devclass_t isp_devclass; -DRIVER_MODULE(isp, pci, isp_pci_driver, isp_devclass, 0, 0); + +DRIVER_MODULE(isp, pci, isp_pci_driver, 0, 0); MODULE_DEPEND(isp, cam, 1, 1, 1); MODULE_DEPEND(isp, firmware, 1, 1, 1); static int isp_nvports = 0;