aboutsummaryrefslogtreecommitdiffstats
path: root/arch/openrisc
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-03-16 22:01:08 -0400
committerMasahiro Yamada <yamada.masahiro@socionext.com>2019-03-16 23:56:31 -0400
commit7cbbbb8bc2974264bbbf326d9a4552fc8878d375 (patch)
treef5a3c927cd662dc9fac451335097de0205d6f087 /arch/openrisc
parentf84dde10d893cd368e73dda04b694169542ed792 (diff)
kbuild: warn redundant generic-y
The generic-y is redundant under the following condition: - arch has its own implementation - the same header is added to generated-y - the same header is added to mandatory-y If a redundant generic-y is found, the warning like follows is displayed: scripts/Makefile.asm-generic:20: redundant generic-y found in arch/arm/include/asm/Kbuild: timex.h I fixed up arch Kbuild files found by this. Suggested-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/openrisc')
-rw-r--r--arch/openrisc/include/asm/Kbuild2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/openrisc/include/asm/Kbuild b/arch/openrisc/include/asm/Kbuild
index 1f04844b6b82..5a73e2956ac4 100644
--- a/arch/openrisc/include/asm/Kbuild
+++ b/arch/openrisc/include/asm/Kbuild
@@ -15,7 +15,6 @@ generic-y += fb.h
15generic-y += ftrace.h 15generic-y += ftrace.h
16generic-y += hardirq.h 16generic-y += hardirq.h
17generic-y += hw_irq.h 17generic-y += hw_irq.h
18generic-y += irq.h
19generic-y += irq_regs.h 18generic-y += irq_regs.h
20generic-y += irq_work.h 19generic-y += irq_work.h
21generic-y += kdebug.h 20generic-y += kdebug.h
@@ -35,7 +34,6 @@ generic-y += qrwlock.h
35generic-y += sections.h 34generic-y += sections.h
36generic-y += segment.h 35generic-y += segment.h
37generic-y += shmparam.h 36generic-y += shmparam.h
38generic-y += string.h
39generic-y += switch_to.h 37generic-y += switch_to.h
40generic-y += topology.h 38generic-y += topology.h
41generic-y += trace_clock.h 39generic-y += trace_clock.h