aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2006-07-03 12:02:35 -0400
committerBen Collins <bcollins@ubuntu.com>2006-07-03 12:02:35 -0400
commit3a632fe2321f6440ea8184b99549c74b912f5cef (patch)
tree9ba2e9d483428069d5ea0ab023ea8988cfd6abff /drivers
parent40fd89cc54a8a67c81b5aa40b22c4f40b39e47b9 (diff)
[PATCH] ieee1394: nodemgr: make module parameter ignore_drivers writable
Nodemgr's ignore_drivers variable is exposed as a module load parameter (therefore also as a sysfs attribute below /sys/module) and additionally as an attribute below /sys/bus/ieee1394. Since the latter is writable, make the former writable too. Note, the bus's attribute ignore_drivers is only relevant to newly added units, not to present or suspended or resuming units. Those have their own attribute ignore_driver. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> Signed-off-by: Ben Collins <bcollins@ubuntu.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ieee1394/nodemgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ieee1394/nodemgr.c b/drivers/ieee1394/nodemgr.c
index 1ce3d8a14ae7..04b62eca647b 100644
--- a/drivers/ieee1394/nodemgr.c
+++ b/drivers/ieee1394/nodemgr.c
@@ -28,7 +28,7 @@
28#include "nodemgr.h" 28#include "nodemgr.h"
29 29
30static int ignore_drivers; 30static int ignore_drivers;
31module_param(ignore_drivers, int, 0444); 31module_param(ignore_drivers, int, S_IRUGO | S_IWUSR);
32MODULE_PARM_DESC(ignore_drivers, "Disable automatic probing for drivers."); 32MODULE_PARM_DESC(ignore_drivers, "Disable automatic probing for drivers.");
33 33
34struct nodemgr_csr_info { 34struct nodemgr_csr_info {