Thread (23 messages) 23 messages, 4 authors, 2015-02-25
STALE4138d
Revisions (10)
  1. rfc [diff vs current]
  2. v1 [diff vs current]
  3. v2 [diff vs current]
  4. v3 [diff vs current]
  5. v4 [diff vs current]
  6. v4 [diff vs current]
  7. v5 [diff vs current]
  8. v6 current
  9. v7 [diff vs current]
  10. v8 [diff vs current]

[PATCH V6 02/12] mailbox: Make struct mbox_controller's ops field const

From: Andrew Bresticker <hidden>
Date: 2014-11-25 00:22:00
Also in: linux-devicetree, linux-tegra, lkml
Subsystem: mailbox api, the rest · Maintainers: Jassi Brar, Linus Torvalds

The mailbox controller's channel ops ought to be read-only.

Signed-off-by: Andrew Bresticker <redacted>
---
No changes from v5.
New for v5.
---
 include/linux/mailbox_controller.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/mailbox_controller.h b/include/linux/mailbox_controller.h
index d4cf96f..68c4245 100644
--- a/include/linux/mailbox_controller.h
+++ b/include/linux/mailbox_controller.h
@@ -72,7 +72,7 @@ struct mbox_chan_ops {
  */
 struct mbox_controller {
 	struct device *dev;
-	struct mbox_chan_ops *ops;
+	const struct mbox_chan_ops *ops;
 	struct mbox_chan *chans;
 	int num_chans;
 	bool txdone_irq;
-- 
2.1.0.rc2.206.gedb03e5
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help