summaryrefslogtreecommitdiff
path: root/include/net/llc_c_st.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-12-10 19:18:50 +0300
committerDavid S. Miller <davem@davemloft.net>2014-12-10 23:21:24 +0300
commit14b7d95fd2288524c71aac48f3f7309fa6afa853 (patch)
tree7f60561f505d28378af57a0169aa2110abfcf026 /include/net/llc_c_st.h
parentb95bf1e0ea724f4004faae0cc6685c06379157c3 (diff)
downloadlinux-14b7d95fd2288524c71aac48f3f7309fa6afa853.tar.xz
llc: Make function pointer arrays const
It's better when function pointer arrays aren't modifiable. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/llc_c_st.h')
-rw-r--r--include/net/llc_c_st.h2
1 files changed, 1 insertions, 1 deletions
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 {