git: ccc221b9a200 - main - cyapa: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 May 2022 19:22:54 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=ccc221b9a2005ef822c267f9ae7a7f5d63bbd180 commit ccc221b9a2005ef822c267f9ae7a7f5d63bbd180 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-09 19:22:02 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-09 19:22:02 +0000 cyapa: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/cyapa/cyapa.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/cyapa/cyapa.c b/sys/dev/cyapa/cyapa.c index 6846c8b0e3c6..474bf7fb16e5 100644 --- a/sys/dev/cyapa/cyapa.c +++ b/sys/dev/cyapa/cyapa.c @@ -456,8 +456,6 @@ static int cyapa_attach(device_t); static int cyapa_detach(device_t); static void cyapa_cdevpriv_dtor(void*); -static devclass_t cyapa_devclass; - static device_method_t cyapa_methods[] = { /* device interface */ DEVMETHOD(device_probe, cyapa_probe), @@ -1814,7 +1812,7 @@ cyapa_fuzz(int delta, int *fuzzp) return (delta); } -DRIVER_MODULE(cyapa, iicbus, cyapa_driver, cyapa_devclass, NULL, NULL); +DRIVER_MODULE(cyapa, iicbus, cyapa_driver, NULL, NULL); MODULE_DEPEND(cyapa, iicbus, IICBUS_MINVER, IICBUS_PREFVER, IICBUS_MAXVER); #ifdef EVDEV_SUPPORT MODULE_DEPEND(cyapa, evdev, 1, 1, 1);