git: da4650a57633 - main - goldfish_rtc: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 May 2022 17:36:08 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=da4650a576334302c5b0dbcd0292a6f4d6459f42 commit da4650a576334302c5b0dbcd0292a6f4d6459f42 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-10 17:21:37 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-10 17:21:37 +0000 goldfish_rtc: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/goldfish/goldfish_rtc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/goldfish/goldfish_rtc.c b/sys/dev/goldfish/goldfish_rtc.c index d1c2b6627ae2..6cd209ff5872 100644 --- a/sys/dev/goldfish/goldfish_rtc.c +++ b/sys/dev/goldfish/goldfish_rtc.c @@ -176,7 +176,5 @@ static device_method_t goldfish_rtc_methods[] = { DEFINE_CLASS_0(goldfish_rtc, goldfish_rtc_driver, goldfish_rtc_methods, sizeof(struct goldfish_rtc_softc)); -static devclass_t goldfish_rtc_devclass; -DRIVER_MODULE(goldfish_rtc, simplebus, goldfish_rtc_driver, - goldfish_rtc_devclass, NULL, NULL); +DRIVER_MODULE(goldfish_rtc, simplebus, goldfish_rtc_driver, NULL, NULL);