summaryrefslogtreecommitdiffstats
path: root/qemu/fsdev/qemu-fsdev-opts.c
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/fsdev/qemu-fsdev-opts.c')
-rw-r--r--qemu/fsdev/qemu-fsdev-opts.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/qemu/fsdev/qemu-fsdev-opts.c b/qemu/fsdev/qemu-fsdev-opts.c
index 6311c7a7e..88a4ac325 100644
--- a/qemu/fsdev/qemu-fsdev-opts.c
+++ b/qemu/fsdev/qemu-fsdev-opts.c
@@ -5,6 +5,7 @@
* later. See the COPYING file in the top-level directory.
*/
+#include "qemu/osdep.h"
#include "qemu/config-file.h"
#include "qemu/option.h"
#include "qemu/module.h"
@@ -82,4 +83,4 @@ static void fsdev_register_config(void)
qemu_add_opts(&qemu_fsdev_opts);
qemu_add_opts(&qemu_virtfs_opts);
}
-machine_init(fsdev_register_config);
+opts_init(fsdev_register_config);