git: 825718a331d7 - main - mana: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 May 2022 19:23:08 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=825718a331d73da4d2432946cc86c07376df9095 commit 825718a331d73da4d2432946cc86c07376df9095 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 mana: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/mana/gdma_main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/dev/mana/gdma_main.c b/sys/dev/mana/gdma_main.c index aa5d5fd5b507..27275252dc4f 100644 --- a/sys/dev/mana/gdma_main.c +++ b/sys/dev/mana/gdma_main.c @@ -1864,8 +1864,7 @@ static driver_t mana_driver = { "mana", mana_methods, sizeof(struct gdma_context), }; -devclass_t mana_devclass; -DRIVER_MODULE(mana, pci, mana_driver, mana_devclass, 0, 0); +DRIVER_MODULE(mana, pci, mana_driver, 0, 0); MODULE_PNP_INFO("U16:vendor;U16:device", pci, mana, mana_id_table, nitems(mana_id_table) - 1); MODULE_DEPEND(mana, pci, 1, 1, 1);