summaryrefslogtreecommitdiffstats
path: root/rust/kernel/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/kernel/src/lib.rs')
-rw-r--r--rust/kernel/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/rust/kernel/src/lib.rs b/rust/kernel/src/lib.rs
index bdb070cca953..1469c77247bc 100644
--- a/rust/kernel/src/lib.rs
+++ b/rust/kernel/src/lib.rs
@@ -51,6 +51,8 @@ macro_rules! kernel_module {
($module:ty, $($name:ident : $value:expr),*) => {
static mut __MOD: Option<$module> = None;
+ // Built-in modules are initialized through an initcall pointer
+ //
// TODO: find a proper way to emulate the C macro, including
// dealing with `HAVE_ARCH_PREL32_RELOCATIONS`
#[cfg(not(module))]