From nobody Mon May 09 21:47:55 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E0A651ACA52E; Mon, 9 May 2022 21:47:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kxvt43NlNz3H0g; Mon, 9 May 2022 21:47:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652132876; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RK0ZgwTCH9wG4vK++qvfFg4V3cbyR1EPji9hwShrtGU=; b=ACVtizKjxvTGxwhs8Wwg4kpdFs144F+0C3OX82yn6GahU3g1v/tkyS69MtLkU6eUkSdlBo 9mbLpJsTQEci8oYgiIXK5UzQN5bToIBVVDrRYX88ULI02KwUdBu85w0UrYFMYW9j1Sk9OK XhKzxGFUkHzO9NkfzPpBaWCxupiiLTpnPv3DYXGL2esNYAnt10CtxiiGTR0zLH4BIQwlC3 XOmoVXwX+pr7Khby5ghhweinB8UFOcDQU4lnbcWSatfUdM0zHhkHy2GM9Kp8Ko8yaIIiUh /LGaGfjrJcx8yU4pdi5FKKO1WCb7ZN1zrz4rCIzkdEwasNUbPIZB+4l7o4dETA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B124518BF1; Mon, 9 May 2022 21:47:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 249LltQ1080316; Mon, 9 May 2022 21:47:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249Lltmb080315; Mon, 9 May 2022 21:47:55 GMT (envelope-from git) Date: Mon, 9 May 2022 21:47:55 GMT Message-Id: <202205092147.249Lltmb080315@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: bb62bc2284c4 - main - arm64: Remove unused devclass arguments to DRIVER_MODULE. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bb62bc2284c4ebe059474604da001eb564279189 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652132876; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RK0ZgwTCH9wG4vK++qvfFg4V3cbyR1EPji9hwShrtGU=; b=tGkBx/QwFVzR08gsWfFpMohhsJ9J9tyWJDQDd0XblOPfNN/YoraSHWe6HxmWqtxBCPYyKF Y1wMwT9slw4jAnsaZDbXa+pq/OZ912JOW2587UYd+HD8vH5cIzbLY3Eiy8xLmEKDdFGqSC Ud7xqivPlTZs9LSw09SBYzy/P1rnLvZNXjMup2sDu/lzhkKK5F6kfYPLqLYp+i21Ma2qRL MUEIgg4HC9RsMzPnMvOZX7G/326Ak4ImVFvqVkgZloVWp+vuSO/+e+z3NvPWlaoN79BJ38 WDdJWcNRW7cIGd19OQtU+t1DTGPiYkynSJ/f2Ln5AOkhIuennUeBUNYNBXCjMw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652132876; a=rsa-sha256; cv=none; b=pg69kYuUiWgj/Yt5qLRmGNjprfrl2XWkSJ4iXVFBg14T3/3jAk6NmXE8FuEzoDKli3ojST 8ma0E5z029u18sEJj8c9BlhZMA2P1uJRXSiOBbZhZEfp52NQEl7k5HxCe7vWgj0SUOhI9k SHVwTurA79VkmTU4SQwALKH8HaX3Nqr7hjNRCL/USrpJO9YOIhwlYR8y3nhU+wM/UH6FgF 3N+swTXNUpG1S/nf3hbwPDz+3uCeXqp0BBGa+VkbCtUhJLrxmy/z2YdUaefU/vg9lIrxRi eyqTqGC2Q4MXYBbbRNXOHusEAF1fF+IKvC1WHW0j6bEP4MbitBWqRU5LdQVsfQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=bb62bc2284c4ebe059474604da001eb564279189 commit bb62bc2284c4ebe059474604da001eb564279189 Author: John Baldwin AuthorDate: 2022-05-09 21:26:45 +0000 Commit: John Baldwin CommitDate: 2022-05-09 21:26:45 +0000 arm64: Remove unused devclass arguments to DRIVER_MODULE. --- sys/arm64/arm64/gic_v3_acpi.c | 6 ++---- sys/arm64/arm64/gic_v3_fdt.c | 10 ++++------ sys/arm64/arm64/gicv3_its.c | 10 ++++------ sys/arm64/arm64/nexus.c | 10 ++++------ sys/arm64/iommu/smmu_acpi.c | 6 ++---- 5 files changed, 16 insertions(+), 26 deletions(-) diff --git a/sys/arm64/arm64/gic_v3_acpi.c b/sys/arm64/arm64/gic_v3_acpi.c index 6a090baffacf..cbe4d5989ec2 100644 --- a/sys/arm64/arm64/gic_v3_acpi.c +++ b/sys/arm64/arm64/gic_v3_acpi.c @@ -77,10 +77,8 @@ static device_method_t gic_v3_acpi_methods[] = { DEFINE_CLASS_1(gic, gic_v3_acpi_driver, gic_v3_acpi_methods, sizeof(struct gic_v3_softc), gic_v3_driver); -static devclass_t gic_v3_acpi_devclass; - -EARLY_DRIVER_MODULE(gic_v3, acpi, gic_v3_acpi_driver, gic_v3_acpi_devclass, - 0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE); +EARLY_DRIVER_MODULE(gic_v3, acpi, gic_v3_acpi_driver, 0, 0, + BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE); struct madt_table_data { device_t parent; diff --git a/sys/arm64/arm64/gic_v3_fdt.c b/sys/arm64/arm64/gic_v3_fdt.c index 65d7ca7e374d..41c6297649fb 100644 --- a/sys/arm64/arm64/gic_v3_fdt.c +++ b/sys/arm64/arm64/gic_v3_fdt.c @@ -84,12 +84,10 @@ static device_method_t gic_v3_fdt_methods[] = { DEFINE_CLASS_1(gic, gic_v3_fdt_driver, gic_v3_fdt_methods, sizeof(struct gic_v3_softc), gic_v3_driver); -static devclass_t gic_v3_fdt_devclass; - -EARLY_DRIVER_MODULE(gic_v3, simplebus, gic_v3_fdt_driver, gic_v3_fdt_devclass, - 0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE); -EARLY_DRIVER_MODULE(gic_v3, ofwbus, gic_v3_fdt_driver, gic_v3_fdt_devclass, - 0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE); +EARLY_DRIVER_MODULE(gic_v3, simplebus, gic_v3_fdt_driver, 0, 0, + BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE); +EARLY_DRIVER_MODULE(gic_v3, ofwbus, gic_v3_fdt_driver, 0, 0, + BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE); /* * Helper functions declarations. diff --git a/sys/arm64/arm64/gicv3_its.c b/sys/arm64/arm64/gicv3_its.c index a77be66bdd7f..40e42bc5214e 100644 --- a/sys/arm64/arm64/gicv3_its.c +++ b/sys/arm64/arm64/gicv3_its.c @@ -1937,10 +1937,9 @@ static device_method_t gicv3_its_fdt_methods[] = { DEFINE_CLASS_1(its, gicv3_its_fdt_driver, gicv3_its_fdt_methods, sizeof(struct gicv3_its_softc), gicv3_its_driver); #undef its_baseclasses -static devclass_t gicv3_its_fdt_devclass; -EARLY_DRIVER_MODULE(its_fdt, gic, gicv3_its_fdt_driver, - gicv3_its_fdt_devclass, 0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE); +EARLY_DRIVER_MODULE(its_fdt, gic, gicv3_its_fdt_driver, 0, 0, + BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE); static int gicv3_its_fdt_probe(device_t dev) @@ -2007,10 +2006,9 @@ static device_method_t gicv3_its_acpi_methods[] = { DEFINE_CLASS_1(its, gicv3_its_acpi_driver, gicv3_its_acpi_methods, sizeof(struct gicv3_its_softc), gicv3_its_driver); #undef its_baseclasses -static devclass_t gicv3_its_acpi_devclass; -EARLY_DRIVER_MODULE(its_acpi, gic, gicv3_its_acpi_driver, - gicv3_its_acpi_devclass, 0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE); +EARLY_DRIVER_MODULE(its_acpi, gic, gicv3_its_acpi_driver, 0, 0, + BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE); static int gicv3_its_acpi_probe(device_t dev) diff --git a/sys/arm64/arm64/nexus.c b/sys/arm64/arm64/nexus.c index 0775cc820a8c..defd6755c48e 100644 --- a/sys/arm64/arm64/nexus.c +++ b/sys/arm64/arm64/nexus.c @@ -482,10 +482,9 @@ static device_method_t nexus_fdt_methods[] = { #define nexus_baseclasses nexus_fdt_baseclasses DEFINE_CLASS_1(nexus, nexus_fdt_driver, nexus_fdt_methods, 1, nexus_driver); #undef nexus_baseclasses -static devclass_t nexus_fdt_devclass; -EARLY_DRIVER_MODULE(nexus_fdt, root, nexus_fdt_driver, nexus_fdt_devclass, - 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_FIRST); +EARLY_DRIVER_MODULE(nexus_fdt, root, nexus_fdt_driver, 0, 0, + BUS_PASS_BUS + BUS_PASS_ORDER_FIRST); static int nexus_fdt_probe(device_t dev) @@ -543,10 +542,9 @@ static device_method_t nexus_acpi_methods[] = { DEFINE_CLASS_1(nexus, nexus_acpi_driver, nexus_acpi_methods, 1, nexus_driver); #undef nexus_baseclasses -static devclass_t nexus_acpi_devclass; -EARLY_DRIVER_MODULE(nexus_acpi, root, nexus_acpi_driver, nexus_acpi_devclass, - 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_FIRST); +EARLY_DRIVER_MODULE(nexus_acpi, root, nexus_acpi_driver, 0, 0, + BUS_PASS_BUS + BUS_PASS_ORDER_FIRST); static int nexus_acpi_probe(device_t dev) diff --git a/sys/arm64/iommu/smmu_acpi.c b/sys/arm64/iommu/smmu_acpi.c index bd59ad398e6a..a89028cbe59d 100644 --- a/sys/arm64/iommu/smmu_acpi.c +++ b/sys/arm64/iommu/smmu_acpi.c @@ -290,7 +290,5 @@ static device_method_t smmu_acpi_methods[] = { DEFINE_CLASS_1(smmu, smmu_acpi_driver, smmu_acpi_methods, sizeof(struct smmu_softc), smmu_driver); -static devclass_t smmu_acpi_devclass; - -EARLY_DRIVER_MODULE(smmu, acpi, smmu_acpi_driver, smmu_acpi_devclass, - 0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE); +EARLY_DRIVER_MODULE(smmu, acpi, smmu_acpi_driver, 0, 0, + BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);