diff options
author | Andrew Morton <akpm@osdl.org> | 2006-06-23 05:05:46 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-23 10:43:06 -0400 |
commit | deb0e9b234af24f4a827757fae9ff5542a3d2a12 (patch) | |
tree | 5708987407378781ae22bb4c032ffb807e449e91 /drivers/connector | |
parent | 66f969d064e46e6690c3426e2af846e76fb80e83 (diff) |
[PATCH] connector-exports
Put the connector exports at the functions so people can see them in context.
Cc: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/connector')
-rw-r--r-- | drivers/connector/connector.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/connector/connector.c b/drivers/connector/connector.c index 79d581c86520..b49bacfd8de8 100644 --- a/drivers/connector/connector.c +++ b/drivers/connector/connector.c | |||
@@ -121,6 +121,7 @@ nlmsg_failure: | |||
121 | kfree_skb(skb); | 121 | kfree_skb(skb); |
122 | return -EINVAL; | 122 | return -EINVAL; |
123 | } | 123 | } |
124 | EXPORT_SYMBOL_GPL(cn_netlink_send); | ||
124 | 125 | ||
125 | /* | 126 | /* |
126 | * Callback helper - queues work and setup destructor for given data. | 127 | * Callback helper - queues work and setup destructor for given data. |
@@ -319,6 +320,7 @@ int cn_add_callback(struct cb_id *id, char *name, void (*callback)(void *)) | |||
319 | 320 | ||
320 | return 0; | 321 | return 0; |
321 | } | 322 | } |
323 | EXPORT_SYMBOL_GPL(cn_add_callback); | ||
322 | 324 | ||
323 | /* | 325 | /* |
324 | * Callback remove routing - removes callback | 326 | * Callback remove routing - removes callback |
@@ -335,6 +337,7 @@ void cn_del_callback(struct cb_id *id) | |||
335 | cn_queue_del_callback(dev->cbdev, id); | 337 | cn_queue_del_callback(dev->cbdev, id); |
336 | cn_notify(id, 1); | 338 | cn_notify(id, 1); |
337 | } | 339 | } |
340 | EXPORT_SYMBOL_GPL(cn_del_callback); | ||
338 | 341 | ||
339 | /* | 342 | /* |
340 | * Checks two connector's control messages to be the same. | 343 | * Checks two connector's control messages to be the same. |
@@ -488,7 +491,3 @@ static void __devexit cn_fini(void) | |||
488 | 491 | ||
489 | subsys_initcall(cn_init); | 492 | subsys_initcall(cn_init); |
490 | module_exit(cn_fini); | 493 | module_exit(cn_fini); |
491 | |||
492 | EXPORT_SYMBOL_GPL(cn_add_callback); | ||
493 | EXPORT_SYMBOL_GPL(cn_del_callback); | ||
494 | EXPORT_SYMBOL_GPL(cn_netlink_send); | ||