connector: Convert char *name to const char *name
Allow more const declarations. Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Evgeniy Polyakov <zbr@ioremap.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
31acaa50c6
commit
008536e845
@@ -205,7 +205,7 @@ static void cn_rx_skb(struct sk_buff *__skb)
|
||||
*
|
||||
* May sleep.
|
||||
*/
|
||||
int cn_add_callback(struct cb_id *id, char *name,
|
||||
int cn_add_callback(struct cb_id *id, const char *name,
|
||||
void (*callback)(struct cn_msg *, struct netlink_skb_parms *))
|
||||
{
|
||||
int err;
|
||||
|
Reference in New Issue
Block a user