diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-11-06 12:45:27 +0900 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-11-07 11:06:56 +0100 |
commit | 72cc9918ef673a7f6561ae26cf6495047f601e7b (patch) | |
tree | 98e52f96288285f0f5188bb8c832bd230e7a16e6 | |
parent | acc50ec7526dfefdff54e0ce327eeb059dcfa1d0 (diff) | |
download | linux-stable-72cc9918ef673a7f6561ae26cf6495047f601e7b.tar.gz linux-stable-72cc9918ef673a7f6561ae26cf6495047f601e7b.tar.bz2 linux-stable-72cc9918ef673a7f6561ae26cf6495047f601e7b.zip |
s390: delete unneeded #include <linux/kconfig.h> from facilities_src.h
The header facilities_src.h is only included from gen_facilities.c
and the tool is compiled with the following extra options:
HOSTCFLAGS_gen_facilities.o += -Wall $(LINUXINCLUDE)
Please note $(LINUXINCLUDE) is expanded into build options including:
-include $(srctree)/include/linux/kconfig.h
So, the Makefile always forces the tool to include kconfig.h, i.e.,
the #include <linux/kconfig.h> directive in the header is redundant.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
-rw-r--r-- | arch/s390/include/asm/facilities_src.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/s390/include/asm/facilities_src.h b/arch/s390/include/asm/facilities_src.h index 3b758f66e48b..8b1a692e7d25 100644 --- a/arch/s390/include/asm/facilities_src.h +++ b/arch/s390/include/asm/facilities_src.h @@ -6,8 +6,6 @@ #error "This file can only be included by gen_facilities.c" #endif -#include <linux/kconfig.h> - struct facility_def { char *name; int *bits; |