提交 75d3bf84 编写于 作者: J Jason Ekstrand 提交者: Daniel Vetter

drm/i915: Call i915_globals_exit() after i915_pmu_exit()

We should tear down in the opposite order we set up.
Signed-off-by: NJason Ekstrand <jason@jlekstrand.net>
Reviewed-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: NTvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210721152358.2893314-2-jason@jlekstrand.net
上级 4f62a7e0
......@@ -1209,8 +1209,8 @@ static void __exit i915_exit(void)
i915_perf_sysctl_unregister();
pci_unregister_driver(&i915_pci_driver);
i915_globals_exit();
i915_pmu_exit();
i915_globals_exit();
}
module_init(i915_init);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册