aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/connector/connector.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-02-19 18:45:29 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-23 16:22:26 -0500
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)
205 * 205 *
206 * May sleep. 206 * May sleep.
207 */ 207 */
208int cn_add_callback(struct cb_id *id, char *name, 208int cn_add_callback(struct cb_id *id, const char *name,
209 void (*callback)(struct cn_msg *, struct netlink_skb_parms *)) 209 void (*callback)(struct cn_msg *, struct netlink_skb_parms *))
210{ 210{
211 int err; 211 int err;