diff options
author | 2009-05-04 16:00:16 +0200 | |
---|---|---|
committer | 2009-05-04 16:00:16 +0200 | |
commit | 3a20ac2c52b1317f5a5f0bd9cd3cbe8495ddd026 (patch) | |
tree | 9a912f2609cefb9698b5cce09cd240bd6dbd09fb /include/linux/moduleparam.h | |
parent | ASoC: TWL4030: Fix gain control for earpiece amplifier (diff) | |
parent | ALSA: pcm core - Avoid jiffies check for devices with BATCH flag (diff) | |
download | wireguard-linux-3a20ac2c52b1317f5a5f0bd9cd3cbe8495ddd026.tar.xz wireguard-linux-3a20ac2c52b1317f5a5f0bd9cd3cbe8495ddd026.zip |
Merge branch 'fix/pcm-jiffies-check' into fix/asoc
Diffstat (limited to 'include/linux/moduleparam.h')
-rw-r--r-- | include/linux/moduleparam.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/moduleparam.h b/include/linux/moduleparam.h index e4af3399ef48..a4f0b931846c 100644 --- a/include/linux/moduleparam.h +++ b/include/linux/moduleparam.h @@ -138,6 +138,16 @@ extern int parse_args(const char *name, unsigned num, int (*unknown)(char *param, char *val)); +/* Called by module remove. */ +#ifdef CONFIG_SYSFS +extern void destroy_params(const struct kernel_param *params, unsigned num); +#else +static inline void destroy_params(const struct kernel_param *params, + unsigned num) +{ +} +#endif /* !CONFIG_SYSFS */ + /* All the helper functions */ /* The macros to do compile-time type checking stolen from Jakub Jelinek, who IIRC came up with this idea for the 2.4 module init code. */ |