summaryrefslogtreecommitdiff
path: root/bsd-core
diff options
context:
space:
mode:
Diffstat (limited to 'bsd-core')
-rw-r--r--bsd-core/drm_drv.c6
-rw-r--r--bsd-core/i915_drv.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/bsd-core/drm_drv.c b/bsd-core/drm_drv.c
index af69029b..256be44d 100644
--- a/bsd-core/drm_drv.c
+++ b/bsd-core/drm_drv.c
@@ -280,8 +280,12 @@ static device_method_t DRM(methods)[] = {
{ 0, 0 }
};
+#ifndef DRM_DEV_NAME
+#define DRM_DEV_NAME "drm"
+#endif
+
static driver_t DRM(driver) = {
- "drm",
+ DRM_DEV_NAME,
DRM(methods),
sizeof(drm_device_t),
};
diff --git a/bsd-core/i915_drv.c b/bsd-core/i915_drv.c
index 5fbbfb2b..8fd7e37d 100644
--- a/bsd-core/i915_drv.c
+++ b/bsd-core/i915_drv.c
@@ -28,6 +28,8 @@
*
*/
+#define DRM_DEV_NAME "drmsub"
+
#include "i915.h"
#include "drmP.h"
#include "drm.h"