Skip to contentSkip to conversation

ARC: [plat-eznps] Add missing struct nps_host_reg_aux_dpc

PATCH RESEND New Leon Romanovsky 1 participant 1 message Jul 28, 2018 Synopsys ARC architecture

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 ARC: [plat-eznps] Add missing struct nps_host_reg_aux_dpc

From: Ofer Levi <[email protected]>

Fixing compilation issue caused by missing struct nps_host_reg_aux_dpc definition.

Fixes 3f9cd874dcc87 ("ARC: [plat-eznps] avoid toggling of DPC register")
Reported-by Randy Dunlap <rdunlap at infradead.org>
Signed-off-by Ofer Levi <oferle at mellanox.com>
---
 arch/arc/plat-eznps/include/plat/ctop.h |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
arch/arc/plat-eznps/include/plat/ctop.h +9 -0
index 0c7d110..bd34b96 100644
@@ -143,6 +143,15 @@ struct nps_host_reg_gim_p_int_dst {
 };
 
 /* AUX registers definition */
+struct nps_host_reg_aux_dpc {
+	union {
+		struct {
+			u32 ien:1, men:1, hen:1, reserved:29;
+		};
+		u32 value;
+	};
+};
+
 struct nps_host_reg_aux_udmc {
 	union {
 		struct {

--
1.7.1