remove drm_minors_limit
authorDave Airlie <airlied@redhat.com>
Thu, 14 Feb 2008 23:57:30 +0000 (09:57 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 14 Feb 2008 23:57:30 +0000 (09:57 +1000)
linux-core/drmP.h
linux-core/drm_stub.c

index 81417f1..697dc9a 100644 (file)
@@ -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;
index ebb8fb9..d399258 100644 (file)
 #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;