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 Backlight enable/disable...



details:   https://anonhg.NetBSD.org/src/rev/d432ef2c586e
branches:  trunk
changeset: 1028338:d432ef2c586e
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 10:40:03 2021 +0000

description:
Backlight enable/disable stubs.

diffstat:

 sys/external/bsd/drm2/include/linux/backlight.h |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 974ca1cdd89c -r d432ef2c586e sys/external/bsd/drm2/include/linux/backlight.h
--- a/sys/external/bsd/drm2/include/linux/backlight.h   Sun Dec 19 10:39:57 2021 +0000
+++ b/sys/external/bsd/drm2/include/linux/backlight.h   Sun Dec 19 10:40:03 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: backlight.h,v 1.2 2014/03/18 18:20:43 riastradh Exp $  */
+/*     $NetBSD: backlight.h,v 1.3 2021/12/19 10:40:03 riastradh Exp $  */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -32,4 +32,12 @@
 #ifndef _LINUX_BACKLIGHT_H_
 #define _LINUX_BACKLIGHT_H_
 
+struct backlight_device;
+
+#define        backlight_disable       linux_backlight_disable
+#define        backlight_enable        linux_backlight_enable
+
+int    backlight_disable(struct backlight_device *);
+int    backlight_enable(struct backlight_device *);
+
 #endif  /* _LINUX_BACKLIGHT_H_ */



Home | Main Index | Thread Index | Old Index