summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_stub.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/linux-core/drm_stub.c b/linux-core/drm_stub.c
index 8fd690d9..c70de9bb 100644
--- a/linux-core/drm_stub.c
+++ b/linux-core/drm_stub.c
@@ -39,11 +39,15 @@ static unsigned int debug = 0; /* 1 to enable debug output */
MODULE_AUTHOR( DRIVER_AUTHOR );
MODULE_DESCRIPTION( DRIVER_DESC );
MODULE_LICENSE("GPL and additional rights");
-module_param(cards_limit, int, 0444);
MODULE_PARM_DESC(cards_limit, "Maximum number of graphics cards");
-module_param(debug, int, 0644);
MODULE_PARM_DESC(debug, "Enable debug output");
+#ifdef module_param
+module_param(cards_limit, int, 0444);
+module_param(debug, int, 0644);
+#endif
+
+MODULE_AUTHOR( DRIVER_AUTHOR );
drm_global_t *DRM(global);
/**