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 drm_device.h: don't r...
details: https://anonhg.NetBSD.org/src/rev/984f66afdffb
branches: trunk
changeset: 1029094:984f66afdffb
user: tnn <tnn%NetBSD.org@localhost>
date: Tue Dec 21 12:28:34 2021 +0000
description:
drm_device.h: don't redefine vmem_t
diffstat:
sys/external/bsd/drm2/dist/include/drm/drm_device.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r d5d25b4193e9 -r 984f66afdffb sys/external/bsd/drm2/dist/include/drm/drm_device.h
--- a/sys/external/bsd/drm2/dist/include/drm/drm_device.h Tue Dec 21 12:12:52 2021 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/drm_device.h Tue Dec 21 12:28:34 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: drm_device.h,v 1.8 2021/12/19 12:05:09 riastradh Exp $ */
+/* $NetBSD: drm_device.h,v 1.9 2021/12/21 12:28:34 tnn Exp $ */
#ifndef _DRM_DEVICE_H_
#define _DRM_DEVICE_H_
@@ -29,7 +29,11 @@
struct pci_dev;
struct pci_controller;
+#if defined(__NetBSD__)
+#include <sys/vmem.h>
+#else
typedef struct vmem vmem_t;
+#endif
/**
* enum drm_switch_power - power state of drm device
Home |
Main Index |
Thread Index |
Old Index