Re: [PATCH] rust: replace <linux/module.h> with <linux/export.h> in rust/exports.c
From: Miguel Ojeda
Date: Fri Nov 24 2023 - 09:36:43 EST
On Fri, Nov 24, 2023 at 3:26 PM Masahiro Yamada <masahiroy@xxxxxxxxxx> 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>
Good catch, thanks!
Cheers,
Miguel