diff options
Diffstat (limited to 'include/linux/moduleparam.h')
| -rw-r--r-- | include/linux/moduleparam.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/moduleparam.h b/include/linux/moduleparam.h index 02e5090ce32..9f51568f51c 100644 --- a/include/linux/moduleparam.h +++ b/include/linux/moduleparam.h | |||
| @@ -36,6 +36,8 @@ struct kernel_param_ops { | |||
| 36 | int (*set)(const char *val, const struct kernel_param *kp); | 36 | int (*set)(const char *val, const struct kernel_param *kp); |
| 37 | /* Returns length written or -errno. Buffer is 4k (ie. be short!) */ | 37 | /* Returns length written or -errno. Buffer is 4k (ie. be short!) */ |
| 38 | int (*get)(char *buffer, const struct kernel_param *kp); | 38 | int (*get)(char *buffer, const struct kernel_param *kp); |
| 39 | /* Optional function to free kp->arg when module unloaded. */ | ||
| 40 | void (*free)(void *arg); | ||
| 39 | }; | 41 | }; |
| 40 | 42 | ||
| 41 | /* Flag bits for kernel_param.flags */ | 43 | /* Flag bits for kernel_param.flags */ |
