From nobody Thu Feb 16 11:55:43 2023 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 4PHYL839LWz3q5Yg; Thu, 16 Feb 2023 11:55:44 +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 4PHYL81kP6z47Zk; Thu, 16 Feb 2023 11:55:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676548544; 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=SUO9IcHjvWeizO73G1W1Wbt1bPG4GvibY2mdIP/zD14=; b=GUnM0ui9JpBLAFCrZo84g+V2V0L9DhI5Dme3QcQMYDz/zo/0S/8o6lPmJKaDTu1R8EWEc0 coLPzJBasY/Srq3Kpe+JPqIf2EEQgedPCdLZe2Okoonpi2+ZkALvWvMI5BX03P0+cjDeFh IEgc8JXQGWaV0XCsfCd66ImwiR36ALOoGDvx60ka9D1Qud0p3A/I9kBrQQfsoaW6mGitdV T+YpAa2BlMg/f+1J5GjYvF+FDaQpj6YoMX5mMANxquXC9UudafkyWCLpivkD0MwiK6t1X3 eQT5uVVTDOx2HwOh2jmJFFhHsl70FFRcah/TLtX8Zt5vEaohhC2+GBM6a+1sNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676548544; 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=SUO9IcHjvWeizO73G1W1Wbt1bPG4GvibY2mdIP/zD14=; b=dKqVbHeBz+ud7eJ4ErdQHNAVoG7bB6JyaEyyByddg+pneaZdTq1FOK47HXfC6FCDeOW5a0 7SRPRvaCUJyELIvZCW4Pm5Pk6zs6K3LaGvwoesfBy92XwgSOnd9p4ZOiqHTbd2jql82zfM k5c6Qqlx3VqnTDK5gMWZfhfxiCOWsu9skF4iKbXcMLgc/eJCozAyJZIVIJznaLJO6nH7T5 foRxxPlF8FmS1Rg8hpMlt5c+9yv5YWbuUWt6Ix0FR9lS3b7Ub6MqkJ24KaM0lqdp15qKNt lYwBx6t953cjRtmphMM+uh6nfjy9s0dLB+4fao0SeZdLHgBXQ4Jsp07sPPQ3vA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676548544; a=rsa-sha256; cv=none; b=JOhzyIGIn8t1Oa+sEe1wRs6f/4tDz67mT3cIv2E1+hla4aqUdURcio4UUXVgpgTw65NQtt lokHR2AugqPywQpyKVCoPsvnh4CvnhYf1ZziwNlbI1bL64gqvtRtGjVdfhRIYDvf34EzpU ffEhNoBB0KaAAG2KWHbx5MlbWnqr2nLdV8SDNOkmH6XmNr28izNbGPM4XwaNEts+W5izRS FBqT71nKmyyK8yRNG8aLGFJn8GLFj/HNwF1zonzOcbC4H0AfWBiYNPzpTkOtwbO7QC5KWG ir2V9uHeKf1k6/rC91nKmqa8GsuU1x19ZvxXAqCHoScvr4z6Nv2HsQAhavEjGQ== 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 4PHYL80dmxz12hv; Thu, 16 Feb 2023 11:55:44 +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 31GBthnS054996; Thu, 16 Feb 2023 11:55:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31GBthar054995; Thu, 16 Feb 2023 11:55:43 GMT (envelope-from git) Date: Thu, 16 Feb 2023 11:55:43 GMT Message-Id: <202302161155.31GBthar054995@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: =?utf-8?Q?Jean-S=C3=A9bastien=20P=C3=A9dron?= Subject: git: 66e0e1636849 - stable/13 - linuxkpi: Add `pm_runtime_suspended()` 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: dumbbell X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 66e0e1636849da5c9109a553bef5f483cad6b7c3 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by dumbbell (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=66e0e1636849da5c9109a553bef5f483cad6b7c3 commit 66e0e1636849da5c9109a553bef5f483cad6b7c3 Author: Jean-Sébastien Pédron AuthorDate: 2023-01-11 22:23:14 +0000 Commit: Jean-Sébastien Pédron CommitDate: 2023-02-16 11:55:12 +0000 linuxkpi: Add `pm_runtime_suspended()` Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/D38083 (cherry picked from commit 710c6084d11025fb3640dc1146ae1b157475333b) --- sys/compat/linuxkpi/common/include/linux/pm_runtime.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/pm_runtime.h b/sys/compat/linuxkpi/common/include/linux/pm_runtime.h index 42c96a92b1ad..616dd508e562 100644 --- a/sys/compat/linuxkpi/common/include/linux/pm_runtime.h +++ b/sys/compat/linuxkpi/common/include/linux/pm_runtime.h @@ -40,4 +40,10 @@ pm_runtime_get_if_active(struct device *dev, bool x) return 1; } +static inline int +pm_runtime_suspended(struct device *dev) +{ + return 0; +} + #endif /* _LINUXKPI_LINUX_PM_RUNTIME_H_ */