Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/include/linux pm_runtime_get, pm_runti...



details:   https://anonhg.NetBSD.org/src/rev/d1d5372321ac
branches:  trunk
changeset: 1028356:d1d5372321ac
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 10:47:54 2021 +0000

description:
pm_runtime_get, pm_runtime_put_sync stubs

diffstat:

 sys/external/bsd/drm2/include/linux/pm_runtime.h |  13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 262d7ef20239 -r d1d5372321ac sys/external/bsd/drm2/include/linux/pm_runtime.h
--- a/sys/external/bsd/drm2/include/linux/pm_runtime.h  Sun Dec 19 10:47:46 2021 +0000
+++ b/sys/external/bsd/drm2/include/linux/pm_runtime.h  Sun Dec 19 10:47:54 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pm_runtime.h,v 1.6 2021/12/19 01:48:45 riastradh Exp $ */
+/*     $NetBSD: pm_runtime.h,v 1.7 2021/12/19 10:47:54 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -47,6 +47,12 @@
 }
 
 static inline int
+pm_runtime_get(struct device *dev __unused)
+{
+       return 0;
+}
+
+static inline int
 pm_runtime_get_noresume(struct device *dev __unused)
 {
        return 0;
@@ -69,6 +75,11 @@
 }
 
 static inline void
+pm_runtime_put_sync(struct device *dev __unused)
+{
+}
+
+static inline void
 pm_runtime_put_autosuspend(struct device *dev __unused)
 {
 }



Home | Main Index | Thread Index | Old Index