Create include/linux/export.h with stub definitions for EXPORT_SYMBOL and EXPORT_SYMBOL_GPL macros. This matches the Linux kernel's header organization where export.h is a separate file. Update compat.h to include export.h and remove the duplicate definitions. Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com>
15 lines
365 B
C
15 lines
365 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
#ifndef _LINUX_EXPORT_H
|
|
#define _LINUX_EXPORT_H
|
|
|
|
/*
|
|
* Stub definitions for Linux kernel module exports.
|
|
* U-Boot doesn't use modules, so these are no-ops.
|
|
*/
|
|
#define EXPORT_SYMBOL(sym)
|
|
#define EXPORT_SYMBOL_GPL(sym)
|
|
#define EXPORT_SYMBOL_NS(sym, ns)
|
|
#define EXPORT_SYMBOL_NS_GPL(sym, ns)
|
|
|
|
#endif /* _LINUX_EXPORT_H */
|