diff options
author | Rupesh Gujare <rupesh.gujare@atmel.com> | 2013-08-01 18:40:01 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-02 11:56:55 +0800 |
commit | 83e4817fc3a2092ac1545999705b799bea855bcb (patch) | |
tree | a1119e40d66c55d55681035f008acd85df091459 /drivers/staging/ozwpan/ozproto.h | |
parent | 8a3cac62efd0c447e017180aa7bf2638603ee21c (diff) | |
download | op-kernel-dev-83e4817fc3a2092ac1545999705b799bea855bcb.zip op-kernel-dev-83e4817fc3a2092ac1545999705b799bea855bcb.tar.gz |
staging: ozwpan: Mark string as const
Make sure that we mark const string so that it does not get modified.
Signed-off-by: Rupesh Gujare <rupesh.gujare@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ozwpan/ozproto.h')
-rw-r--r-- | drivers/staging/ozwpan/ozproto.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/ozwpan/ozproto.h b/drivers/staging/ozwpan/ozproto.h index 305c532..e532347 100644 --- a/drivers/staging/ozwpan/ozproto.h +++ b/drivers/staging/ozwpan/ozproto.h @@ -54,8 +54,8 @@ void oz_protocol_term(void); int oz_get_pd_list(struct oz_mac_addr *addr, int max_count); void oz_app_enable(int app_id, int enable); struct oz_pd *oz_pd_find(const u8 *mac_addr); -void oz_binding_add(char *net_dev); -void oz_binding_remove(char *net_dev); +void oz_binding_add(const char *net_dev); +void oz_binding_remove(const char *net_dev); void oz_timer_add(struct oz_pd *pd, int type, unsigned long due_time); void oz_timer_delete(struct oz_pd *pd, int type); void oz_pd_request_heartbeat(struct oz_pd *pd); |