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 Add pm_runtime_get_nores...



details:   https://anonhg.NetBSD.org/src/rev/e686cf578277
branches:  trunk
changeset: 992686:e686cf578277
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 07:30:00 2018 +0000

description:
Add pm_runtime_get_noresume stub.

diffstat:

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

diffs (22 lines):

diff -r 1dc2344dc563 -r e686cf578277 sys/external/bsd/drm2/include/linux/pm_runtime.h
--- a/sys/external/bsd/drm2/include/linux/pm_runtime.h  Mon Aug 27 07:29:50 2018 +0000
+++ b/sys/external/bsd/drm2/include/linux/pm_runtime.h  Mon Aug 27 07:30:00 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pm_runtime.h,v 1.3 2014/08/23 08:03:33 riastradh Exp $ */
+/*     $NetBSD: pm_runtime.h,v 1.4 2018/08/27 07:30:00 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -45,6 +45,12 @@
 }
 
 static inline int
+pm_runtime_get_noresume(struct device *dev __unused)
+{
+       return 0;
+}
+
+static inline int
 pm_runtime_get_sync(struct device *dev __unused)
 {
        return 0;



Home | Main Index | Thread Index | Old Index