commit 083143ed05de4b458c673d089657eb5072953134
parent 96a97dc9596c615c900b3ffab430d97200a4c3ee
Author: Andrew Zaborowski <andrew.zaborowski@intel.com>
Date: Mon, 11 Nov 2019 13:34:16 +0100
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).
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/module.h b/src/module.h
@@ -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, \