aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOfer Levi <oferle@mellanox.com>2018-07-28 10:54:41 +0300
committerVineet Gupta <vgupta@synopsys.com>2018-07-30 09:47:53 -0700
commit05b466bf846d2e8d2f0baf8dfd81a42cc933e237 (patch)
treed09387a881d2ed3379887cd2556b096d982f8321
parent386177da9e601ed176d54c04324d9ebf44c70620 (diff)
downloadlinux-4.18.y-05b466bf846d2e8d2f0baf8dfd81a42cc933e237.tar.gz
ARC: [plat-eznps] Add missing struct nps_host_reg_aux_dpc
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@infradead.org> Signed-off-by: Ofer Levi <oferle@mellanox.com> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
-rw-r--r--arch/arc/plat-eznps/include/plat/ctop.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arc/plat-eznps/include/plat/ctop.h b/arch/arc/plat-eznps/include/plat/ctop.h
index 0c7d11022d0f88..bd34b96bc59153 100644
--- a/arch/arc/plat-eznps/include/plat/ctop.h
+++ b/arch/arc/plat-eznps/include/plat/ctop.h
@@ -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 {