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:
Andrew Zaborowski 2019-11-11 13:34:16 +01:00 committed by Denis Kenzior
parent 96a97dc959
commit 083143ed05
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ struct iwd_module_depends {
#define IWD_MODULE_DEPENDS(name, dep) \
static struct iwd_module_depends \
__iwd_module__##name_##dep \
__iwd_module__##name##_##dep \
__attribute__((used, section("__iwd_module_dep"), \
aligned(8))) = { \
.self = #name, \