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/dist/include/drm Provide our own decla...



details:   https://anonhg.NetBSD.org/src/rev/e7fe8a8faf8d
branches:  trunk
changeset: 1028202:e7fe8a8faf8d
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 09:49:01 2021 +0000

description:
Provide our own declaration of drm_irq_install


Author: Maya Rashish <maya%NetBSD.org@localhost>

diffstat:

 sys/external/bsd/drm2/dist/include/drm/drm_irq.h |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 482cd2aab112 -r e7fe8a8faf8d sys/external/bsd/drm2/dist/include/drm/drm_irq.h
--- a/sys/external/bsd/drm2/dist/include/drm/drm_irq.h  Sun Dec 19 09:48:53 2021 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/drm_irq.h  Sun Dec 19 09:49:01 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_irq.h,v 1.2 2021/12/18 23:45:46 riastradh Exp $    */
+/*     $NetBSD: drm_irq.h,v 1.3 2021/12/19 09:49:01 riastradh Exp $    */
 
 /*
  * Copyright 2016 Intel Corp.
@@ -28,7 +28,12 @@
 
 struct drm_device;
 
+#ifdef __NetBSD__
+int drm_irq_install(struct drm_device *dev);
+#else
 int drm_irq_install(struct drm_device *dev, int irq);
+#endif
+
 int drm_irq_uninstall(struct drm_device *dev);
 
 #endif



Home | Main Index | Thread Index | Old Index