The rootfs_initcall for drivers built as modules was only introduced in
kernel 3.14 by commit
b46d0c46ccaa366a5bb8ac709fdf2bcaa76221fd. Use
fs_initcall instead which comes just before and exists in older kernels.
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
{
return lttng_clock_register_plugin(<c, THIS_MODULE);
}
-rootfs_initcall(lttng_clock_plugin_init);
+fs_initcall(lttng_clock_plugin_init);
static __exit
void lttng_clock_plugin_exit(void)