[PATCH] parisc: fix module_param iommu permission
authorRandy Dunlap <randy.dunlap@oracle.com>
Tue, 6 Feb 2007 00:33:59 +0000 (16:33 -0800)
committerKyle McMartin <kyle@athena.road.mcmartin.ca>
Thu, 8 Feb 2007 23:56:34 +0000 (18:56 -0500)
Fix/change module_param permissions parameter from an init value
to a permission value.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Kyle McMartin <kyle@mcmartin.ca>
Cc: Matthew Wilcox <willy@debian.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/parisc/sba_iommu.c

index 41abbed51ea7313eb2a2d21e2b323e141a1e251f..26fece45e737db81c9e91e16a41bec540ea1ad54 100644 (file)
@@ -109,7 +109,7 @@ static unsigned long piranha_bad_128k = 0;
 
 #ifdef SBA_AGP_SUPPORT
 static int sba_reserve_agpgart = 1;
-module_param(sba_reserve_agpgart, int, 1);
+module_param(sba_reserve_agpgart, int, 0444);
 MODULE_PARM_DESC(sba_reserve_agpgart, "Reserve half of IO pdir as AGPGART");
 #endif