From nobody Tue May 10 17:36:09 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 D48ED1ACF815; Tue, 10 May 2022 17:36:10 +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 4KyQF61NR8z4hW1; Tue, 10 May 2022 17:36:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652204170; 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=WwSNvgLHlQ/Gq1f6J4Is+2djAwYiwR6eyNun7VHXNpA=; b=BMhDI55Hzv1yPnA9+qWAqLWPRyy452h0WMQnMfol6LzhkL+H4UZILUHcELmfcjsLI9JeTi ZExbAV04xTKzH6nbWc8WtqLOBDTowE3+t9fQoxqZZ2oznuNYkBQUrxy0H/W3DqYbKjOh8m dltv/BQ5pjOQ12AU7ur8vPN1ufNASLXQa3KNR3H9RuGPjgFKWB9nLEwVu77epclFhtKkNA 45kKoYnMJTqbVqfDquDYWhKhSG26Yi8WbTwMpEAXvZZPQkJdKNB4F5NXJgUG7+VmZakvAH YSsO9vYkDzg4TIbxZv/yIkTof4F1qhpEVIkbIde4L4/3BUIsPcakDfcJke/67g== 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 8B8CD1C0D; Tue, 10 May 2022 17:36:09 +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 24AHa95R098727; Tue, 10 May 2022 17:36:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24AHa9Lj098726; Tue, 10 May 2022 17:36:09 GMT (envelope-from git) Date: Tue, 10 May 2022 17:36:09 GMT Message-Id: <202205101736.24AHa9Lj098726@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: 90b8b22435cd - main - xilinx: 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: 90b8b22435cdbad64227e646f4e315a2db8fb99a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652204170; 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=WwSNvgLHlQ/Gq1f6J4Is+2djAwYiwR6eyNun7VHXNpA=; b=ELcxTw8UAAvyaqV0HXD9ziikDOtuLW83t6kjRd/2y7858zlE+f96zJRuID89uxk5d8RBz/ vat4Ke8JtlSMM3g0xwPrNMY1gbo/kesXjZHfEozvzJUCA10JfOJPCk+cMlE1Nnuan/jZIa EOZ3eQxjdXop/esvh9yj5yHcFHlQCsvAXc5k218BOtPsbwSRVMZ5YzIjJ0xRZQcFSRlNUR hvYsLrs7mymYOXgqU57l+trmNDoBpn6cTVTCCBL8VwChVEYBY0VSkfKfGiVKMBaQXAXDIP XmSHmQEIXhRuDB/ogtB+u/DgrKzHxKiU8DSOhAf8sq8/5ilC6ya6h/MlpWXRsQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652204170; a=rsa-sha256; cv=none; b=vX2PZ4j12pMoJmrLJXPJr/oVNY+EQ/GpuXMPAs4TM3ttYLoAADEC7ubUDZKWuLDk/h/O2f eWVuJraBRHnvXmwqEaYiEoGDjiIjr8gKeSncxKE80i+fDIb5L2V73kLclw5meOQdRJrgPV ijVPInXdzeISc/eFK0Um0HdRcZJsuF3korbErCdZoLWlOuuwvxwYLVyaisuFP235tZxD7s fKrBh7AK3+F/QsjKDpY5tk8VSFIPdJKTYCGki0tNinTQgb+EvQBCCaFyVTdO2hFHYo2PpC Xj2bEqTYvCcmhmKzWAkYJj+W61VK2fA0rcEP3LomNtTVa7+uSUJHhbpCWkMleA== 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=90b8b22435cdbad64227e646f4e315a2db8fb99a commit 90b8b22435cdbad64227e646f4e315a2db8fb99a Author: John Baldwin AuthorDate: 2022-05-10 17:21:37 +0000 Commit: John Baldwin CommitDate: 2022-05-10 17:21:37 +0000 xilinx: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/xilinx/axi_quad_spi.c | 4 +--- sys/dev/xilinx/axidma.c | 4 +--- sys/dev/xilinx/if_xae.c | 4 +--- sys/dev/xilinx/xlnx_pcib.c | 8 ++------ 4 files changed, 5 insertions(+), 15 deletions(-) diff --git a/sys/dev/xilinx/axi_quad_spi.c b/sys/dev/xilinx/axi_quad_spi.c index e18be94a59c0..dbc57f368ce7 100644 --- a/sys/dev/xilinx/axi_quad_spi.c +++ b/sys/dev/xilinx/axi_quad_spi.c @@ -230,6 +230,4 @@ static driver_t spi_driver = { sizeof(struct spi_softc), }; -static devclass_t spi_devclass; - -DRIVER_MODULE(spi, simplebus, spi_driver, spi_devclass, 0, 0); +DRIVER_MODULE(spi, simplebus, spi_driver, 0, 0); diff --git a/sys/dev/xilinx/axidma.c b/sys/dev/xilinx/axidma.c index be3fcf17d20e..ec2d9284cbbc 100644 --- a/sys/dev/xilinx/axidma.c +++ b/sys/dev/xilinx/axidma.c @@ -632,7 +632,5 @@ static driver_t axidma_driver = { sizeof(struct axidma_softc), }; -static devclass_t axidma_devclass; - -EARLY_DRIVER_MODULE(axidma, simplebus, axidma_driver, axidma_devclass, 0, 0, +EARLY_DRIVER_MODULE(axidma, simplebus, axidma_driver, 0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LATE); diff --git a/sys/dev/xilinx/if_xae.c b/sys/dev/xilinx/if_xae.c index 4f02e0950ee4..5b61d19b6f0a 100644 --- a/sys/dev/xilinx/if_xae.c +++ b/sys/dev/xilinx/if_xae.c @@ -1146,9 +1146,7 @@ driver_t xae_driver = { sizeof(struct xae_softc), }; -static devclass_t xae_devclass; - -DRIVER_MODULE(xae, simplebus, xae_driver, xae_devclass, 0, 0); +DRIVER_MODULE(xae, simplebus, xae_driver, 0, 0); DRIVER_MODULE(miibus, xae, miibus_driver, 0, 0); MODULE_DEPEND(xae, ether, 1, 1, 1); diff --git a/sys/dev/xilinx/xlnx_pcib.c b/sys/dev/xilinx/xlnx_pcib.c index 0e60786e6320..50865d525267 100644 --- a/sys/dev/xilinx/xlnx_pcib.c +++ b/sys/dev/xilinx/xlnx_pcib.c @@ -785,9 +785,5 @@ static device_method_t xlnx_pcib_fdt_methods[] = { DEFINE_CLASS_1(pcib, xlnx_pcib_fdt_driver, xlnx_pcib_fdt_methods, sizeof(struct xlnx_pcib_softc), generic_pcie_fdt_driver); -static devclass_t xlnx_pcib_fdt_devclass; - -DRIVER_MODULE(xlnx_pcib, simplebus, xlnx_pcib_fdt_driver, - xlnx_pcib_fdt_devclass, 0, 0); -DRIVER_MODULE(xlnx_pcib, ofwbus, xlnx_pcib_fdt_driver, - xlnx_pcib_fdt_devclass, 0, 0); +DRIVER_MODULE(xlnx_pcib, simplebus, xlnx_pcib_fdt_driver, 0, 0); +DRIVER_MODULE(xlnx_pcib, ofwbus, xlnx_pcib_fdt_driver, 0, 0);