2005-03-20 18:34:01

by Magnus Damm

[permalink] [raw]
Subject: [PATCH] drm: MODULE_PARM_DESC

For 2.6.12 and 2.6.11.x:

Remove incorrect "drm_"-prefix from parameter description.

Signed-off-by: Magnus Damm <[email protected]>

--- linux-2.6.11.5/drivers/char/drm/drm_stub.c 2005-03-20 18:09:14.348412000 +0100
+++ linux-2.6.11.5-drm_parm_desc/drivers/char/drm/drm_stub.c 2005-03-20 18:52:14.279203192 +0100
@@ -43,8 +43,8 @@
MODULE_AUTHOR( DRIVER_AUTHOR );
MODULE_DESCRIPTION( DRIVER_DESC );
MODULE_LICENSE("GPL and additional rights");
-MODULE_PARM_DESC(drm_cards_limit, "Maximum number of graphics cards");
-MODULE_PARM_DESC(drm_debug, "Enable debug output");
+MODULE_PARM_DESC(cards_limit, "Maximum number of graphics cards");
+MODULE_PARM_DESC(debug, "Enable debug output");

module_param_named(cards_limit, drm_cards_limit, int, 0444);
module_param_named(debug, drm_debug, int, 0666);