From nobody Fri Oct 28 17:32:55 2022 X-Original-To: dev-commits-src-all@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 4MzV4R3CThz4gdrw; Fri, 28 Oct 2022 17:32:55 +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 4MzV4R1qltz447X; Fri, 28 Oct 2022 17:32:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666978375; 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=58/Ko7hNqG1lks9tI0WYG+iz+kEQl9aVVcuTl8bP2Ps=; b=RxfIDsPPHYkRbzm34u+8ctJqiVuK6L4bSjmwcTcyBpfG9K2d2jP4slz6cS1shBR/Rt9Spw Z/2M6XcMuNquqX9Y+iRs8wMKE3s26iCbNTDhbg5Jl2B4p/Te16Hn4zLhqQUwX6/Ucygxdf WWOQgb4V0BJjMWlH/+Y4Bgj9k5THEuq/0s+ZLzeD1/AWv3bvoWVRx63Zdi0z3LgiNVJP/g YJYnZWtE/VA6Ko591Is3bOXnB2IQ4zG316yvGyrW03XeNpGChtgfacr0UAFpwnWJXGvEbo H36dzAYMRsZ+8IUDeK/gIzk0ZBUs33ufHzjNC4U5xJRJaI667z/2sc9bz4wmyQ== 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 4MzV4R0wngzmQ2; Fri, 28 Oct 2022 17:32: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 29SHWteP025096; Fri, 28 Oct 2022 17:32:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29SHWtwC025095; Fri, 28 Oct 2022 17:32:55 GMT (envelope-from git) Date: Fri, 28 Oct 2022 17:32:55 GMT Message-Id: <202210281732.29SHWtwC025095@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Andrew Turner Subject: git: 5566f84822bf - main - Only include regdev_if.h when it's needed List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: andrew X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5566f84822bfb663061aee598e0f50971d527a91 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666978375; 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=58/Ko7hNqG1lks9tI0WYG+iz+kEQl9aVVcuTl8bP2Ps=; b=JOs5iK6JIbNakXvE/HozAwA7kgXhmLS5j1mOV7vx2CiHw+daW45pTTaF1ZV3KkMlrQ8fDl XRGpsDO6zUrHZphv8v8CEdfpp13IpAwe3R09+4pQvziRjgmH8/1KY6OKDXJ1cEdasItO2V LwPUPmk93PIlwpci6BlcTen/t36kLg67tbklqCdm1KDMl8oxrRRurdqA5BMD7O5Omp+t/H QtC5yxM7lRLfQRci6bJOcKOuYZw5/178StQrga/puW5iseCDSAWYkYYynl+4r/EZ4M/KyA VYxreTM2YQBGYUIsh9K2FVNe7hWerW9p7Nbrn4AyMoEpLXHcSdNjo2dsbuur4A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666978375; a=rsa-sha256; cv=none; b=eRJ5PS6zZ4NarHhJvFGG04de39Az7lYb18Sz+zrT0l3y5bf0npHrRgLO+7Z4uq0eOiGObd rLz3XMXOzPbIrTXe6uYi8L/ghkz5ki3hvgGMiVi9AaZoeWWGwwvOteEB35edASlRMt1WG+ 6sVYDG0SaylusrSCmuz1gXY3S7wW6Xq7mGowF9zMyl1RJn8cZGIdnma3P3wEs7ryb1i+dj sY/OnY0ExhHeX7j43wtO22BsBJdD/Xl+4YMznogTgZYyExIw1eFoZkMWlQtZUQyiNfCsLr lZK70JLwpV+S0fKIjQ9IlrfyCTVt39xxns5GWbWQ53bonThjDG41VcYlKJBxzw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=5566f84822bfb663061aee598e0f50971d527a91 commit 5566f84822bfb663061aee598e0f50971d527a91 Author: Andrew Turner AuthorDate: 2022-10-28 17:27:24 +0000 Commit: Andrew Turner CommitDate: 2022-10-28 17:31:55 +0000 Only include regdev_if.h when it's needed We don't need to include regdev_if.h when not building for FDT. Sponsored by: Innovate UK --- sys/dev/extres/regulator/regulator_fixed.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/extres/regulator/regulator_fixed.c b/sys/dev/extres/regulator/regulator_fixed.c index 05e0a8bb8f45..74c475e08eba 100644 --- a/sys/dev/extres/regulator/regulator_fixed.c +++ b/sys/dev/extres/regulator/regulator_fixed.c @@ -46,7 +46,9 @@ __FBSDID("$FreeBSD$"); #include #include +#ifdef FDT #include "regdev_if.h" +#endif MALLOC_DEFINE(M_FIXEDREGULATOR, "fixedregulator", "Fixed regulator");