]> git.ipfire.org Git - people/arne_f/kernel.git/commit - include/soc/nps/common.h
irqchip/eznps: Fix build error for !ARC700 builds
authorVineet Gupta <vgupta@synopsys.com>
Mon, 24 Aug 2020 19:10:33 +0000 (12:10 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Sep 2020 08:46:27 +0000 (10:46 +0200)
commit60486724b0fcc0611d6787b5af7dbc35c312412b
tree8e5dea8dd490fb230ac7ebf4e6a957831f504560
parent114436301bf48f7d5b8eab73b9885faab0b7cbfc
irqchip/eznps: Fix build error for !ARC700 builds

[ Upstream commit 89d29997f103d08264b0685796b420d911658b96 ]

eznps driver is supposed to be platform independent however it ends up
including stuff from inside arch/arc headers leading to rand config
build errors.

The quick hack to fix this (proper fix is too much chrun for non active
user-base) is to add following to nps platform agnostic header.
 - copy AUX_IENABLE from arch/arc header
 - move CTOP_AUX_IACK from arch/arc/plat-eznps/*/**

Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Link: https://lkml.kernel.org/r/20200824095831.5lpkmkafelnvlpi2@linutronix.de
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arc/plat-eznps/include/plat/ctop.h
include/soc/nps/common.h