git: 03cfce6f7381 - main - rtsx: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 23:24:45 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=03cfce6f7381603ccc4715900ab6e1861a285d44 commit 03cfce6f7381603ccc4715900ab6e1861a285d44 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-06 22:46:56 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-06 22:46:56 +0000 rtsx: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/rtsx/rtsx.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/rtsx/rtsx.c b/sys/dev/rtsx/rtsx.c index f706c4ac9025..65c4aa809de9 100644 --- a/sys/dev/rtsx/rtsx.c +++ b/sys/dev/rtsx/rtsx.c @@ -3905,10 +3905,8 @@ static device_method_t rtsx_methods[] = { DEVMETHOD_END }; -static devclass_t rtsx_devclass; - DEFINE_CLASS_0(rtsx, rtsx_driver, rtsx_methods, sizeof(struct rtsx_softc)); -DRIVER_MODULE(rtsx, pci, rtsx_driver, rtsx_devclass, NULL, NULL); +DRIVER_MODULE(rtsx, pci, rtsx_driver, NULL, NULL); #ifndef MMCCAM MMC_DECLARE_BRIDGE(rtsx); #endif /* !MMCCAM */