]> git.baikalelectronics.ru Git - kernel.git/commit
s390: delete unneeded #include <linux/kconfig.h> from facilities_src.h
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 6 Nov 2016 03:45:27 +0000 (12:45 +0900)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 7 Nov 2016 10:06:56 +0000 (11:06 +0100)
commitc90cba46571c9ca0eab224225b7660ea2ab9b2b7
tree98e52f96288285f0f5188bb8c832bd230e7a16e6
parent5fa4a227e8d47b2208f9a62cd5a76e0db44c7d8f
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>
arch/s390/include/asm/facilities_src.h