summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-02-15 09:57:30 +1000
committerDave Airlie <airlied@redhat.com>2008-02-15 09:57:30 +1000
commitf2f8ace3e1342d83096bf392922130d39cd86ec2 (patch)
tree56b22d34aa2b792752d625969ba22d2a9cb41f2e /linux-core
parent8bf8cd63bb4631b57ceb27058f81d767a94edc74 (diff)
remove drm_minors_limit
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drmP.h1
-rw-r--r--linux-core/drm_stub.c3
2 files changed, 0 insertions, 4 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h
index 81417f1d..697dc9a1 100644
--- a/linux-core/drmP.h
+++ b/linux-core/drmP.h
@@ -1248,7 +1248,6 @@ extern int drm_get_dev(struct pci_dev *pdev, const struct pci_device_id *ent,
extern int drm_put_dev(struct drm_device *dev);
extern int drm_put_minor(struct drm_minor **minor);
extern unsigned int drm_debug; /* 1 to enable debug output */
-extern unsigned int drm_minors_limit;
extern struct class *drm_class;
extern struct proc_dir_entry *drm_proc_root;
diff --git a/linux-core/drm_stub.c b/linux-core/drm_stub.c
index ebb8fb97..d3992584 100644
--- a/linux-core/drm_stub.c
+++ b/linux-core/drm_stub.c
@@ -37,17 +37,14 @@
#include "drmP.h"
#include "drm_core.h"
-unsigned int drm_minors_limit = 16; /* Enough for one machine */
unsigned int drm_debug = 0; /* 1 to enable debug output */
EXPORT_SYMBOL(drm_debug);
MODULE_AUTHOR(CORE_AUTHOR);
MODULE_DESCRIPTION(CORE_DESC);
MODULE_LICENSE("GPL and additional rights");
-MODULE_PARM_DESC(minors_limit, "Maximum number of graphics cards");
MODULE_PARM_DESC(debug, "Enable debug output");
-module_param_named(minors_limit, drm_minors_limit, int, 0444);
module_param_named(debug, drm_debug, int, 0600);
struct idr drm_minors_idr;