diff options
author | François Tigeot <ftigeot@wolfpond.org> | 2018-12-12 20:48:35 +0100 |
---|---|---|
committer | Ilia Mirkin <imirkin@alum.mit.edu> | 2018-12-13 20:39:02 -0500 |
commit | 200e9e98a2fbd876ee5f0afd943731a63b7af3dc (patch) | |
tree | 60bda630f68d370e79481e1c746259f6ca62f2dc /xf86drm.c | |
parent | ba45adb2a121dae8fa408f921ef2caae86d2f78e (diff) | |
download | drm-200e9e98a2fbd876ee5f0afd943731a63b7af3dc.tar.gz |
xf86drm: implement drmParseSubsystemType for DragonFly
Like on OpenBSD, the DragonFly BSD kernel only contains
pci drm drivers.
Signed-off-by: François Tigeot <ftigeot@wolfpond.org>
Diffstat (limited to 'xf86drm.c')
-rw-r--r-- | xf86drm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3014,7 +3014,7 @@ static int drmParseSubsystemType(int maj, int min) } return -EINVAL; -#elif defined(__OpenBSD__) +#elif defined(__OpenBSD__) || defined(__DragonFly__) return DRM_BUS_PCI; #else #warning "Missing implementation of drmParseSubsystemType" |