From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Gortmaker Date: Tue, 21 Jan 2014 21:22:35 +0000 Subject: [PATCH 32/73] logo: emit "#include in autogenerated C file Message-Id: <1390339396-3479-33-git-send-email-paul.gortmaker@windriver.com> List-Id: References: <1390339396-3479-1-git-send-email-paul.gortmaker@windriver.com> In-Reply-To: <1390339396-3479-1-git-send-email-paul.gortmaker@windriver.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-kernel@vger.kernel.org Cc: linux-arch@vger.kernel.org, Paul Gortmaker , linux-fbdev@vger.kernel.org The header linux_logo.h itself does not use any __init type directives, but the autogenerated C file itself does. Hence move the include directive into the autogenerated file. Cc: linux-fbdev@vger.kernel.org Signed-off-by: Paul Gortmaker --- include/linux/linux_logo.h | 3 --- scripts/pnmtologo.c | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/include/linux/linux_logo.h b/include/linux/linux_logo.h index ca5bd91..aea584c 100644 --- a/include/linux/linux_logo.h +++ b/include/linux/linux_logo.h @@ -14,9 +14,6 @@ * but should contain %s to display the version */ -#include - - #define LINUX_LOGO_MONO 1 /* monochrome black/white */ #define LINUX_LOGO_VGA16 2 /* 16 colors VGA text palette */ #define LINUX_LOGO_CLUT224 3 /* 224 colors */ diff --git a/scripts/pnmtologo.c b/scripts/pnmtologo.c index 68bb4ef..06a4b4e 100644 --- a/scripts/pnmtologo.c +++ b/scripts/pnmtologo.c @@ -243,6 +243,7 @@ static void write_header(void) fputs(" *\n", out); fprintf(out, " * Linux logo %s\n", logoname); fputs(" */\n\n", out); + fputs("#include \n", out); fputs("#include \n\n", out); fprintf(out, "static unsigned char %s_data[] __initdata = {\n", logoname); -- 1.8.4.1