From 14b7d95fd2288524c71aac48f3f7309fa6afa853 Mon Sep 17 00:00:00 2001 From: Joe Perches Date: Wed, 10 Dec 2014 08:18:50 -0800 Subject: llc: Make function pointer arrays const It's better when function pointer arrays aren't modifiable. Signed-off-by: Joe Perches Signed-off-by: David S. Miller --- include/net/llc_c_st.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/net/llc_c_st.h') diff --git a/include/net/llc_c_st.h b/include/net/llc_c_st.h index 0e79cfba4b3b..60e2ebb1d9b1 100644 --- a/include/net/llc_c_st.h +++ b/include/net/llc_c_st.h @@ -36,7 +36,7 @@ struct llc_conn_state_trans { llc_conn_ev_t ev; u8 next_state; llc_conn_ev_qfyr_t *ev_qualifiers; - llc_conn_action_t *ev_actions; + const llc_conn_action_t *ev_actions; }; struct llc_conn_state { -- cgit v1.2.3-59-g8ed1b