[PATCH] drm/radeon/kms: Fix module parameter description format

Jean Delvare jdelvare at suse.de
Wed Nov 30 08:22:55 PST 2011


From: Jean Delvare <jdelvare at suse.de>
Subject: drm/radeon/kms: Fix module parameter description format

Module parameter descriptions don't take a trailing \n, otherwise it
breaks formatting of modinfo's output. Also add missing space after
comma.

Signed-off-by: Jean Delvare <jdelvare at suse.de>
Cc: David Airlie <airlied at linux.ie>
Cc: Alex Deucher <alexander.deucher at amd.com>
Cc: Jerome Glisse <jglisse at redhat.com>
---
 drivers/gpu/drm/radeon/radeon_drv.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-3.2-rc3.orig/drivers/gpu/drm/radeon/radeon_drv.c	2011-11-24 10:13:11.000000000 +0100
+++ linux-3.2-rc3/drivers/gpu/drm/radeon/radeon_drv.c	2011-11-29 10:25:27.000000000 +0100
@@ -140,7 +140,7 @@ module_param_named(vramlimit, radeon_vra
 MODULE_PARM_DESC(agpmode, "AGP Mode (-1 == PCI)");
 module_param_named(agpmode, radeon_agpmode, int, 0444);
 
-MODULE_PARM_DESC(gartsize, "Size of PCIE/IGP gart to setup in megabytes (32,64, etc)\n");
+MODULE_PARM_DESC(gartsize, "Size of PCIE/IGP gart to setup in megabytes (32, 64, etc)");
 module_param_named(gartsize, radeon_gart_size, int, 0600);
 
 MODULE_PARM_DESC(benchmark, "Run benchmark");

-- 
Jean Delvare
Suse L3


More information about the dri-devel mailing list