summaryrefslogtreecommitdiff
path: root/drivers/connector/connector.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-02-19 15:45:29 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-23 13:22:26 -0800
commit008536e8458613ce569595e43b0e71afa8b48ae8 (patch)
tree9e3243f20245f51baaae1bba7e7a28aff45a54dc /drivers/connector/connector.c
parent31acaa50c6c61bfb486dacaa2ec62950a42de233 (diff)
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>
Diffstat (limited to 'drivers/connector/connector.c')
-rw-r--r--drivers/connector/connector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/connector/connector.c b/drivers/connector/connector.c
index 05117f1ad867..f7554de3be5e 100644
--- a/drivers/connector/connector.c
+++ b/drivers/connector/connector.c
@@ -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;