diff options
author | Joe Perches <joe@perches.com> | 2011-02-19 15:45:29 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-23 13:22:26 -0800 |
commit | 008536e8458613ce569595e43b0e71afa8b48ae8 (patch) | |
tree | 9e3243f20245f51baaae1bba7e7a28aff45a54dc /drivers/connector/connector.c | |
parent | 31acaa50c6c61bfb486dacaa2ec62950a42de233 (diff) | |
download | blackbird-op-linux-008536e8458613ce569595e43b0e71afa8b48ae8.tar.gz blackbird-op-linux-008536e8458613ce569595e43b0e71afa8b48ae8.zip |
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) * * 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; |