Date: Fri, 6 May 2022 23:24:39 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: c59820837c28 - main - pms: Remove unused devclass argument to DRIVER_MODULE. Message-ID: <202205062324.246NOdwJ074830@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=c59820837c28f7cef224b689ac5026ed113a5320 commit c59820837c28f7cef224b689ac5026ed113a5320 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-06 22:46:55 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-06 22:46:55 +0000 pms: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/pms/freebsd/driver/ini/src/agtiapi.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/pms/freebsd/driver/ini/src/agtiapi.c b/sys/dev/pms/freebsd/driver/ini/src/agtiapi.c index a4efec572864..2937e6074168 100644 --- a/sys/dev/pms/freebsd/driver/ini/src/agtiapi.c +++ b/sys/dev/pms/freebsd/driver/ini/src/agtiapi.c @@ -6621,15 +6621,13 @@ static device_method_t agtiapi_methods[] = { // Device interface { 0, 0 } }; -static devclass_t pmspcv_devclass; - static driver_t pmspcv_driver = { "pmspcv", agtiapi_methods, sizeof( struct agtiapi_softc ) }; -DRIVER_MODULE( pmspcv, pci, pmspcv_driver, pmspcv_devclass, 0, 0 ); +DRIVER_MODULE( pmspcv, pci, pmspcv_driver, 0, 0 ); MODULE_DEPEND( pmspcv, cam, 1, 1, 1 ); MODULE_DEPEND( pmspcv, pci, 1, 1, 1 );
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205062324.246NOdwJ074830>