diff options
author | Joe Perches <joe@perches.com> | 2014-12-10 08:18:50 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-12-10 15:21:24 -0500 |
commit | 14b7d95fd2288524c71aac48f3f7309fa6afa853 (patch) | |
tree | 7f60561f505d28378af57a0169aa2110abfcf026 /include/net/llc_c_st.h | |
parent | b95bf1e0ea724f4004faae0cc6685c06379157c3 (diff) | |
download | lwn-14b7d95fd2288524c71aac48f3f7309fa6afa853.tar.gz lwn-14b7d95fd2288524c71aac48f3f7309fa6afa853.zip |
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.h | 2 |
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 { |