dp_07_param_array_delim_colon.diff
This is the 7th patch of 16 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 <[email protected]>
Index: linux-devparam-export/include/linux/moduleparam.h
===================================================================
--- linux-devparam-export.orig/include/linux/moduleparam.h 2004-10-23 11:09:29.000000000 +0900
+++ linux-devparam-export/include/linux/moduleparam.h 2004-10-23 11:09:29.000000000 +0900
@@ -193,7 +193,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, ",:");
}
#endif /* _LINUX_MODULE_PARAMS_H */