mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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 <[email protected]> Reported-by: Sebastian Andrzej Siewior <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Vineet Gupta <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
This commit is contained in:
parent
41ac2e8a6a
commit
6ce06caf6b
2 changed files with 6 additions and 1 deletions
|
|
@ -45,6 +45,12 @@
|
|||
#define CTOP_INST_MOV2B_FLIP_R3_B1_B2_INST 0x5B60
|
||||
#define CTOP_INST_MOV2B_FLIP_R3_B1_B2_LIMM 0x00010422
|
||||
|
||||
#ifndef AUX_IENABLE
|
||||
#define AUX_IENABLE 0x40c
|
||||
#endif
|
||||
|
||||
#define CTOP_AUX_IACK (0xFFFFF800 + 0x088)
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
/* In order to increase compilation test coverage */
|
||||
|
|
|
|||
Loading…
Reference in a new issue