Results 1 to 1 of 1
Hi,
i want to set a member of a structure as modul parameter.
The following does not work:
typedef struct foo{
unsigned int bar;
}foo;
foo _foo;
module_param(_foo.bar,uint,0);
It works, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-21-2012 #1Just Joined!
- Join Date
- Jan 2012
- Posts
- 3
Struct member +module_param
Hi,
i want to set a member of a structure as modul parameter.
The following does not work:
typedef struct foo{
unsigned int bar;
}foo;
foo _foo;
module_param(_foo.bar,uint,0);
It works, if i take some primitive global variable.
Is there a way to get it run without a primitive global variable ??
Tanks


Reply With Quote
