ARC: [plat-eznps] Add missing struct nps_host_reg_aux_dpc
authorOfer Levi <oferle@mellanox.com>
Sat, 28 Jul 2018 07:54:41 +0000 (10:54 +0300)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 30 Jul 2018 16:47:53 +0000 (09:47 -0700)
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>
arch/arc/plat-eznps/include/plat/ctop.h

index 0c7d110..bd34b96 100644 (file)
@@ -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 {