[PATCH 2.6.10-rc1 6/15] driver-model: ':' added to default param_array delimiters

From: Tejun Heo
Date: Thu Nov 04 2004 - 01:51:50 EST


dp_06_param_array_delim_colon.patch

This is the 6th patch of 15 patches for devparam.

This adds ':' to the delimeters for param_array(). ':' is used as
the nested array delimeter in devparam.


Signed-off-by: Tejun Heo <tj@xxxxxxxxxxx>


Index: linux-export/include/linux/moduleparam.h
===================================================================
--- linux-export.orig/include/linux/moduleparam.h 2004-11-04 14:25:58.000000000 +0900
+++ linux-export/include/linux/moduleparam.h 2004-11-04 14:25:58.000000000 +0900
@@ -199,7 +199,7 @@ static inline int param_array(const char
{
return param_array_delims(name, val, min_val, max_val,
min_elems, max_elems, elem, elemsize,
- set, num, ",");
+ set, num, ",:");
}


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/