diff options
author | Joe Perches <joe@perches.com> | 2011-02-19 18:45:29 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-23 16:22:26 -0500 |
commit | 008536e8458613ce569595e43b0e71afa8b48ae8 (patch) | |
tree | 9e3243f20245f51baaae1bba7e7a28aff45a54dc /drivers/connector/connector.c | |
parent | 31acaa50c6c61bfb486dacaa2ec62950a42de233 (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.c | 2 |
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 | */ |
208 | int cn_add_callback(struct cb_id *id, char *name, | 208 | int 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; |