[PATCH 6/9] include: Carve <linux/export.h> out of compat.h

Simon Glass sjg at chromium.org
Wed Mar 16 20:23:41 CET 2022


On Wed, 16 Mar 2022 at 09:41, Pierre-Clément Tosi <ptosi at google.com> wrote:
>
> As Linux source code might include that header directly and as it is a
> simple "leaf header" (probably won't include other headers) that is
> unlikely to be relevant to U-Boot, replicate the upstream header
> definitions in a dedicated <linux/export.h> and include it in the
> pre-existing compat.h for existing users.
>
> Signed-off-by: Pierre-Clément Tosi <ptosi at google.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Tom Rini <trini at konsulko.com>
> ---
>  include/linux/compat.h |  4 +---
>  include/linux/export.h | 25 +++++++++++++++++++++++++
>  2 files changed, 26 insertions(+), 3 deletions(-)
>  create mode 100644 include/linux/export.h

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list