From nobody Mon May 09 21:47:57 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 429DF1ACA53D; Mon, 9 May 2022 21:47:59 +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 4Kxvt60mNpz3GmZ; Mon, 9 May 2022 21:47:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652132878; 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=zTOFKKmvs1gmxRMM+YkLL+ik10q/KH0ol1if+VURUeM=; b=AY5z/SWDQsZcfu3R6yOI7NNypBcl3Zkg+meslfxy3ecxy/D/fUK2hn+Lh8VgOfC8kPw3mf u9QCLbTGeZCP0gjd9jCGsr0vcXvHzSA0Z6jpRaCMbm/29kY4rZEW+KNxiFxvXRz6NBYYfO eKjvcV8H7ZbRJr7IS1iHegNJ2MZdy7J5JGwNjoLErdGpmIDlqYzla9sAMG4iBlcPPKnYOO INIJM67L3KOfO16KuESsc/hWbV94nKlABZ0oxMPDwkfM7ynOMFv8VxG88jpAmcK+3PuxrP 7FJP3W+SVCsWHzissHF08Dk0wX5oSkplGc0G/LZoihet6G4GqhPx16BJtqBEjA== 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 E5A1E18F8E; Mon, 9 May 2022 21:47:57 +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 249LlvV3080365; Mon, 9 May 2022 21:47:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249LlvjS080364; Mon, 9 May 2022 21:47:57 GMT (envelope-from git) Date: Mon, 9 May 2022 21:47:57 GMT Message-Id: <202205092147.249LlvjS080364@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: d99a98d54fd5 - main - arm64 cavium: 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: d99a98d54fd53c009f416e63cb8ddd7f162427c7 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652132878; 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=zTOFKKmvs1gmxRMM+YkLL+ik10q/KH0ol1if+VURUeM=; b=s0zU8NX6H0ghVQICmYpStRNiqrlywNXXWZX378EDXdrZ90NICV4BDOPvHQym8Fa9KAs4CE BzjLX7iPnpPdAFiUpuz7gVG0UKY5v5tBuESgfWfDdmGz5rgblEm1qPAG0EK+pPvUXmXgui EuJRwJTYz1fgo9qjUu2wW99Ygp/LfZYfYFxQNSSKVLj1uP+4QMVDPgBaeDE9Cb/mhXK4Np oS3fxrjOsfW+Wms+8RW/ARuZtVJu3KxCcWErC6xlumpQcpaw0yxfJ7XKdiqukhSDNLysAD q53fLGhGO8SczqFjIYDCHT3WzQ38jjeRlIfuak2A9kdOTOU3CEw3YhfWqoKVDg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652132878; a=rsa-sha256; cv=none; b=kluRlfGSJQpF9xDMU0kMjmchzqcMwwMPbDYIXQJsquV4BZvP7xtItJ0VXkfkVzEqQroPyJ /ZS5CvTSa5meOlWdkL3Otv6vq4BczfJ7SOSreDIMbhHJcDgUcoCQPSc0HnP8rKeXgY8L7i /9w5zu3yAo4AWt9c3VkDGmvAc9XzhEwn5rKS8GwB1bikPYniPPCfkgtFDggyAn07j64SJT UdRHf543heIrm/P/QYSP5+lERcMTpUtEwxltOdvMERBvwHOP47MMA2OGe/STqMBz5anGsi OJDZrUv3MF2Orpw5Ui0gYWjqDDX1CnXGo2onzJ1CQHdCJ6DY+ICCw32FjqnRqQ== 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=d99a98d54fd53c009f416e63cb8ddd7f162427c7 commit d99a98d54fd53c009f416e63cb8ddd7f162427c7 Author: John Baldwin AuthorDate: 2022-05-09 21:26:45 +0000 Commit: John Baldwin CommitDate: 2022-05-09 21:26:45 +0000 arm64 cavium: Remove unused devclass arguments to DRIVER_MODULE. --- sys/arm64/cavium/thunder_pcie_fdt.c | 8 ++------ sys/arm64/cavium/thunder_pcie_pem.c | 3 +-- sys/arm64/cavium/thunder_pcie_pem_fdt.c | 8 ++------ 3 files changed, 5 insertions(+), 14 deletions(-) diff --git a/sys/arm64/cavium/thunder_pcie_fdt.c b/sys/arm64/cavium/thunder_pcie_fdt.c index b89b4e345d31..c0876b1a19bd 100644 --- a/sys/arm64/cavium/thunder_pcie_fdt.c +++ b/sys/arm64/cavium/thunder_pcie_fdt.c @@ -103,12 +103,8 @@ static device_method_t thunder_pcie_fdt_methods[] = { DEFINE_CLASS_1(pcib, thunder_pcie_fdt_driver, thunder_pcie_fdt_methods, sizeof(struct generic_pcie_fdt_softc), generic_pcie_fdt_driver); -static devclass_t thunder_pcie_fdt_devclass; - -DRIVER_MODULE(thunder_pcib, simplebus, thunder_pcie_fdt_driver, - thunder_pcie_fdt_devclass, 0, 0); -DRIVER_MODULE(thunder_pcib, ofwbus, thunder_pcie_fdt_driver, - thunder_pcie_fdt_devclass, 0, 0); +DRIVER_MODULE(thunder_pcib, simplebus, thunder_pcie_fdt_driver, 0, 0); +DRIVER_MODULE(thunder_pcib, ofwbus, thunder_pcie_fdt_driver, 0, 0); static const struct ofw_bus_devinfo * thunder_pcie_ofw_get_devinfo(device_t bus __unused, device_t child) diff --git a/sys/arm64/cavium/thunder_pcie_pem.c b/sys/arm64/cavium/thunder_pcie_pem.c index 45d9880571b0..cbc70d7862de 100644 --- a/sys/arm64/cavium/thunder_pcie_pem.c +++ b/sys/arm64/cavium/thunder_pcie_pem.c @@ -195,10 +195,9 @@ static device_method_t thunder_pem_methods[] = { DEFINE_CLASS_0(pcib, thunder_pem_driver, thunder_pem_methods, sizeof(struct thunder_pem_softc)); -static devclass_t thunder_pem_devclass; extern struct bus_space memmap_bus; -DRIVER_MODULE(thunder_pem, pci, thunder_pem_driver, thunder_pem_devclass, 0, 0); +DRIVER_MODULE(thunder_pem, pci, thunder_pem_driver, 0, 0); MODULE_DEPEND(thunder_pem, pci, 1, 1, 1); static int diff --git a/sys/arm64/cavium/thunder_pcie_pem_fdt.c b/sys/arm64/cavium/thunder_pcie_pem_fdt.c index a605b3c56efd..b5deaa226926 100644 --- a/sys/arm64/cavium/thunder_pcie_pem_fdt.c +++ b/sys/arm64/cavium/thunder_pcie_pem_fdt.c @@ -87,12 +87,8 @@ static device_method_t thunder_pem_fdt_methods[] = { DEFINE_CLASS_1(pcib, thunder_pem_fdt_driver, thunder_pem_fdt_methods, sizeof(struct thunder_pem_softc), thunder_pem_driver); -static devclass_t thunder_pem_fdt_devclass; - -DRIVER_MODULE(thunder_pem, simplebus, thunder_pem_fdt_driver, - thunder_pem_fdt_devclass, 0, 0); -DRIVER_MODULE(thunder_pem, ofwbus, thunder_pem_fdt_driver, - thunder_pem_fdt_devclass, 0, 0); +DRIVER_MODULE(thunder_pem, simplebus, thunder_pem_fdt_driver, 0, 0); +DRIVER_MODULE(thunder_pem, ofwbus, thunder_pem_fdt_driver, 0, 0); static int thunder_pem_fdt_probe(device_t dev)