git: b9f8eda4ebda - main - powerpc amigaone: Remove unused devclass arguments to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 May 2022 17:36:18 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=b9f8eda4ebda748ee4eff19d168678f53f4204c8 commit b9f8eda4ebda748ee4eff19d168678f53f4204c8 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-10 17:21:38 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-10 17:21:38 +0000 powerpc amigaone: Remove unused devclass arguments to DRIVER_MODULE. --- sys/powerpc/amigaone/cpld_a1222.c | 3 +-- sys/powerpc/amigaone/cpld_x5000.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/powerpc/amigaone/cpld_a1222.c b/sys/powerpc/amigaone/cpld_a1222.c index 086e8386d128..7cbab53a80c5 100644 --- a/sys/powerpc/amigaone/cpld_a1222.c +++ b/sys/powerpc/amigaone/cpld_a1222.c @@ -127,8 +127,7 @@ static driver_t cpld_driver = { sizeof(struct cpld_softc) }; -static devclass_t cpld_devclass; -DRIVER_MODULE(cpld, lbc, cpld_driver, cpld_devclass, 0, 0); +DRIVER_MODULE(cpld, lbc, cpld_driver, 0, 0); static void cpld_write(struct cpld_softc *sc, int addr, int data) diff --git a/sys/powerpc/amigaone/cpld_x5000.c b/sys/powerpc/amigaone/cpld_x5000.c index 30c28eef0835..714eeb1eb3b7 100644 --- a/sys/powerpc/amigaone/cpld_x5000.c +++ b/sys/powerpc/amigaone/cpld_x5000.c @@ -114,8 +114,7 @@ static driver_t cpld_driver = { sizeof(struct cpld_softc) }; -static devclass_t cpld_devclass; -DRIVER_MODULE(cpld, lbc, cpld_driver, cpld_devclass, 0, 0); +DRIVER_MODULE(cpld, lbc, cpld_driver, 0, 0); static void cpld_write(struct cpld_softc *sc, int addr, int data)