Re: [PATCH] rust: replace <linux/module.h> with <linux/export.h> in rust/exports.c
From: Martin Rodriguez Reboredo
Date: Fri Nov 24 2023 - 09:54:22 EST
On 11/24/23 11:26, Masahiro Yamada wrote:
<linux/export.h> is the right header to include for using
EXPORT_SYMBOL_GPL. <linux/module.h> includes much more bloat.
Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
---
[...]
-#include <linux/module.h>
+#include <linux/export.h>
[...]
I'll use this in my crates patch. Regardless, LGTM.
Reviewed-by: Martin Rodriguez Reboredo <yakoyoku@xxxxxxxxx>