Commit deb0e9b2 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[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: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 66f969d0
...@@ -121,6 +121,7 @@ nlmsg_failure: ...@@ -121,6 +121,7 @@ nlmsg_failure:
kfree_skb(skb); kfree_skb(skb);
return -EINVAL; return -EINVAL;
} }
EXPORT_SYMBOL_GPL(cn_netlink_send);
/* /*
* Callback helper - queues work and setup destructor for given data. * 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,6 +320,7 @@ int cn_add_callback(struct cb_id *id, char *name, void (*callback)(void *))
return 0; return 0;
} }
EXPORT_SYMBOL_GPL(cn_add_callback);
/* /*
* Callback remove routing - removes callback * Callback remove routing - removes callback
...@@ -335,6 +337,7 @@ void cn_del_callback(struct cb_id *id) ...@@ -335,6 +337,7 @@ void cn_del_callback(struct cb_id *id)
cn_queue_del_callback(dev->cbdev, id); cn_queue_del_callback(dev->cbdev, id);
cn_notify(id, 1); cn_notify(id, 1);
} }
EXPORT_SYMBOL_GPL(cn_del_callback);
/* /*
* Checks two connector's control messages to be the same. * Checks two connector's control messages to be the same.
...@@ -488,7 +491,3 @@ static void __devexit cn_fini(void) ...@@ -488,7 +491,3 @@ static void __devexit cn_fini(void)
subsys_initcall(cn_init); subsys_initcall(cn_init);
module_exit(cn_fini); module_exit(cn_fini);
EXPORT_SYMBOL_GPL(cn_add_callback);
EXPORT_SYMBOL_GPL(cn_del_callback);
EXPORT_SYMBOL_GPL(cn_netlink_send);
...@@ -2,6 +2,7 @@ menu "Dallas's 1-wire bus" ...@@ -2,6 +2,7 @@ menu "Dallas's 1-wire bus"
config W1 config W1
tristate "Dallas's 1-wire support" tristate "Dallas's 1-wire support"
depends on CONNECTOR
---help--- ---help---
Dallas' 1-wire bus is useful to connect slow 1-pin devices Dallas' 1-wire bus is useful to connect slow 1-pin devices
such as iButtons and thermal sensors. such as iButtons and thermal sensors.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment