try implement 02_module_params in rust
params: in module! macro don't exist yet
This commit is contained in:
parent
0d471911dd
commit
a407e656b6
4 changed files with 43 additions and 10 deletions
|
@ -1,4 +1,7 @@
|
|||
obj-m += test_module.o
|
||||
MODULE_NAME = module_params
|
||||
|
||||
obj-m += $(MODULE_NAME)_in_c.o
|
||||
obj-m += $(MODULE_NAME)_in_rust.o
|
||||
|
||||
all:
|
||||
make -C $(LINUX_MODULES_FOLDER)/build M=$(PWD) modules
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue