aboutsummaryrefslogtreecommitdiff
path: root/include/qemu/module.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/qemu/module.h')
-rw-r--r--include/qemu/module.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/qemu/module.h b/include/qemu/module.h
index 5fcc323..bd73607 100644
--- a/include/qemu/module.h
+++ b/include/qemu/module.h
@@ -135,6 +135,16 @@ void module_allow_arch(const char *arch);
*/
#define module_opts(name) modinfo(opts, name)
+/**
+ * module_kconfig
+ *
+ * @name: Kconfig requirement necessary to load the module
+ *
+ * This module requires a core module that should be implemented and
+ * enabled in Kconfig.
+ */
+#define module_kconfig(name) modinfo(kconfig, name)
+
/*
* module info database
*