mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-19 15:43:56 +00:00
dde_linux: cleanup module param handling
Instead of using a somewhat incomplete module_param_named() macro, which will influence other drivers, patch the driver that requires this treatment. Fixes #2169 Fixes #2155
This commit is contained in:
committed by
Christian Helmuth
parent
da68dcc63d
commit
a3e11a60c0
@ -64,14 +64,7 @@ int try_module_get(struct module *);
|
||||
*************************/
|
||||
|
||||
#define module_param(name, type, perm)
|
||||
|
||||
/*
|
||||
* For our shenanigans to work we have to define charp (used by the
|
||||
* iwlwifi module).
|
||||
*/
|
||||
#define charp char*
|
||||
#define module_param_named(name, value, type, perm) \
|
||||
type *module_param_ ## name = &value;
|
||||
#define module_param_named(name, value, type, perm)
|
||||
|
||||
#define module_param_unsafe(name, type, perm)
|
||||
#define module_param_named_unsafe(name, value, type, perm)
|
||||
|
@ -509,8 +509,6 @@ int isprint(int);
|
||||
** linux/moduleparam.h **
|
||||
*************************/
|
||||
|
||||
#define module_param(name, type, perm)
|
||||
#define module_param_named(name, value, type, perm)
|
||||
#define module_param_array_named(name, array, type, nump, perm)
|
||||
#define module_param_string(name, string, len, perm)
|
||||
#define core_param(name, var, type, perm)
|
||||
|
Reference in New Issue
Block a user