Module Name: src
Committed By: riastradh
Date: Sun Dec 19 09:49:01 UTC 2021
Modified Files:
src/sys/external/bsd/drm2/dist/include/drm: drm_irq.h
Log Message:
Provide our own declaration of drm_irq_install
Author: Maya Rashish <[email protected]>
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/external/bsd/drm2/dist/include/drm/drm_irq.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/drm2/dist/include/drm/drm_irq.h
diff -u src/sys/external/bsd/drm2/dist/include/drm/drm_irq.h:1.2 src/sys/external/bsd/drm2/dist/include/drm/drm_irq.h:1.3
--- src/sys/external/bsd/drm2/dist/include/drm/drm_irq.h:1.2 Sat Dec 18 23:45:46 2021
+++ src/sys/external/bsd/drm2/dist/include/drm/drm_irq.h Sun Dec 19 09:49:01 2021
@@ -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