astlpc: mctp_astlpc_init_ops: constify ops struct
No need for the passed ops struct to be mutable. Lets try to enforce
const where we can.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I3d24efc6cc858e09bb6ab00f202b875bc695b29f
diff --git a/astlpc.c b/astlpc.c
index de3982c..6a5c436 100644
--- a/astlpc.c
+++ b/astlpc.c
@@ -369,7 +369,7 @@
}
struct mctp_binding_astlpc *mctp_astlpc_init_ops(
- struct mctp_binding_astlpc_ops *ops,
+ const struct mctp_binding_astlpc_ops *ops,
void *ops_data, void *lpc_map)
{
struct mctp_binding_astlpc *astlpc;