mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-07-08 18:35:20 +02:00
UPSTREAM: rust: replace <linux/module.h> with <linux/export.h> in rust/exports.c
<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@kernel.org>
Reviewed-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com>
Link: https://lore.kernel.org/r/20231124142617.713096-1-masahiroy@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
[ Upstream commit dc92ac9f63
]
Change-Id: I5842dfa4601ccef4a899de5738e02a8b3a8f08e4
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
This commit is contained in:
parent
1765f2a273
commit
412965714b
|
@ -11,7 +11,7 @@
|
|||
* accidentally exposed.
|
||||
*/
|
||||
|
||||
#include <linux/module.h>
|
||||
#include <linux/export.h>
|
||||
|
||||
#define EXPORT_SYMBOL_RUST_GPL(sym)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user