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 linux: Make pm_runtime_g...



details:   https://anonhg.NetBSD.org/src/rev/7d30db1e99e6
branches:  trunk
changeset: 1028836:7d30db1e99e6
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 12:10:27 2021 +0000

description:
linux: Make pm_runtime_get_if_in_use succeed.

diffstat:

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

diffs (18 lines):

diff -r a5f9c5d9eeb6 -r 7d30db1e99e6 sys/external/bsd/drm2/include/linux/pm_runtime.h
--- a/sys/external/bsd/drm2/include/linux/pm_runtime.h  Sun Dec 19 12:10:20 2021 +0000
+++ b/sys/external/bsd/drm2/include/linux/pm_runtime.h  Sun Dec 19 12:10:27 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pm_runtime.h,v 1.8 2021/12/19 11:49:12 riastradh Exp $ */
+/*     $NetBSD: pm_runtime.h,v 1.9 2021/12/19 12:10:27 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -118,7 +118,7 @@
 static inline int
 pm_runtime_get_if_in_use(struct device *dev __unused)
 {
-       return 0;
+       return 1;
 }
 
 #endif  /* _LINUX_PM_RUNTIME_H_ */



Home | Main Index | Thread Index | Old Index