aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <greg@kroah.com>2005-03-01 07:34:41 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-03-01 07:34:41 -0800
commit69f50cac028a687a819408d155eee0ce6b7a0554 (patch)
tree86bd1afffbdfb3e437724860434ae2260451b6ad
parent[PATCH] send audit reply to correct socket (diff)
downloadhistory-69f50cac028a687a819408d155eee0ce6b7a0554.tar.gz
history-69f50cac028a687a819408d155eee0ce6b7a0554.zip
[PATCH] fix module paramater permissions in radeon_base.c
You really don't want -2 (which was just a cut-and-paste of the initial value for the parameter) for the file mode in sysfs. Signed-off-by: Greg Kroah-Hartman <greg@kroah.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--drivers/video/aty/radeon_base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/aty/radeon_base.c b/drivers/video/aty/radeon_base.c
index 4bec134eb1..660ae2a300 100644
--- a/drivers/video/aty/radeon_base.c
+++ b/drivers/video/aty/radeon_base.c
@@ -2551,7 +2551,7 @@ MODULE_AUTHOR("Ani Joshi");
MODULE_DESCRIPTION("framebuffer driver for ATI Radeon chipset");
MODULE_LICENSE("GPL");
module_param(noaccel, bool, 0);
-module_param(default_dynclk, int, -2);
+module_param(default_dynclk, int, 0);
MODULE_PARM_DESC(default_dynclk, "int: -2=enable on mobility only,-1=do not change,0=off,1=on");
MODULE_PARM_DESC(noaccel, "bool: disable acceleration");
module_param(nomodeset, bool, 0);