mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 21:22:37 +01:00
module: Fix variable names
Apparently the intention was for the dependent module's name to appear in the variable name resulting from using IWD_MODULE_DEPENDS, so the dependencies all have unique names (apparently not critical).
This commit is contained in:
parent
96a97dc959
commit
083143ed05
@ -40,7 +40,7 @@ struct iwd_module_depends {
|
|||||||
|
|
||||||
#define IWD_MODULE_DEPENDS(name, dep) \
|
#define IWD_MODULE_DEPENDS(name, dep) \
|
||||||
static struct iwd_module_depends \
|
static struct iwd_module_depends \
|
||||||
__iwd_module__##name_##dep \
|
__iwd_module__##name##_##dep \
|
||||||
__attribute__((used, section("__iwd_module_dep"), \
|
__attribute__((used, section("__iwd_module_dep"), \
|
||||||
aligned(8))) = { \
|
aligned(8))) = { \
|
||||||
.self = #name, \
|
.self = #name, \
|
||||||
|
Loading…
Reference in New Issue
Block a user