aboutsummaryrefslogtreecommitdiff
path: root/bsd-core/drm_drv.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2004-08-03 11:26:38 +0000
committerDave Airlie <airlied@linux.ie>2004-08-03 11:26:38 +0000
commit6c9715eaf502587c58acfaea420a4fdf29bd7221 (patch)
treece6045e7fe6eadeadfa8ca196ef4f6ea000e3b9b /bsd-core/drm_drv.c
parent4f8f02a1922653b2ce5c115c4469e927b5d826fa (diff)
bring over fix from i865-agp branch, it now probes the driver, X hangs
box..
Diffstat (limited to 'bsd-core/drm_drv.c')
-rw-r--r--bsd-core/drm_drv.c6
1 files changed, 5 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),
};