summaryrefslogtreecommitdiff
path: root/bsd/drm_drv.h
diff options
context:
space:
mode:
Diffstat (limited to 'bsd/drm_drv.h')
-rw-r--r--bsd/drm_drv.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/bsd/drm_drv.h b/bsd/drm_drv.h
index 4474f250..865bcde6 100644
--- a/bsd/drm_drv.h
+++ b/bsd/drm_drv.h
@@ -256,8 +256,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),
};