All of lore.kernel.org
 help / color / mirror / Atom feed
From: leon@kernel.org (Leon Romanovsky)
To: linux-snps-arc@lists.infradead.org
Subject: [PATCH RESEND] ARC: [plat-eznps] Add missing struct nps_host_reg_aux_dpc
Date: Sat, 28 Jul 2018 10:54:41 +0300	[thread overview]
Message-ID: <20180728075441.6950-1-leon@kernel.org> (raw)

From: Ofer Levi <oferle@mellanox.com>

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(-)

diff --git a/arch/arc/plat-eznps/include/plat/ctop.h b/arch/arc/plat-eznps/include/plat/ctop.h
index 0c7d110..bd34b96 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 {
--
1.7.1

WARNING: multiple messages have this Message-ID (diff)
From: Leon Romanovsky <leon@kernel.org>
To: Vineet Gupta <Vineet.Gupta1@synopsys.com>,
	Randy Dunlap <rdunlap@infradead.org>
Cc: Ofer Levi <oferle@mellanox.com>,
	Leon Romanovsky <leonro@mellanox.com>,
	LKML <linux-kernel@vger.kernel.org>,
	linux-snps-arc@lists.infradead.org,
	"Meir Lichtinger" <meirl@mellanox.com>
Subject: [PATCH RESEND] ARC: [plat-eznps] Add missing struct nps_host_reg_aux_dpc
Date: Sat, 28 Jul 2018 10:54:41 +0300	[thread overview]
Message-ID: <20180728075441.6950-1-leon@kernel.org> (raw)

From: Ofer Levi <oferle@mellanox.com>

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>
---
 arch/arc/plat-eznps/include/plat/ctop.h |    9 +++++++++
 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 0c7d110..bd34b96 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 {
--
1.7.1


             reply	other threads:[~2018-07-28  7:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-28  7:54 Leon Romanovsky [this message]
2018-07-28  7:54 ` [PATCH RESEND] ARC: [plat-eznps] Add missing struct nps_host_reg_aux_dpc Leon Romanovsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180728075441.6950-1-leon@kernel.org \
    --to=leon@kernel.org \
    --cc=linux-snps-arc@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.