Skip to content

Commit

Permalink
[PATCH] connector-exports
Browse files Browse the repository at this point in the history
Put the connector exports at the functions so people can see them in context.

Cc: Evgeniy Polyakov <[email protected]>
Cc: Greg KH <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Jun 23, 2006
1 parent 66f969d commit deb0e9b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 3 additions & 4 deletions drivers/connector/connector.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ int cn_netlink_send(struct cn_msg *msg, u32 __group, gfp_t gfp_mask)
kfree_skb(skb);
return -EINVAL;
}
EXPORT_SYMBOL_GPL(cn_netlink_send);

/*
* Callback helper - queues work and setup destructor for given data.
Expand Down Expand Up @@ -319,6 +320,7 @@ int cn_add_callback(struct cb_id *id, char *name, void (*callback)(void *))

return 0;
}
EXPORT_SYMBOL_GPL(cn_add_callback);

/*
* Callback remove routing - removes callback
Expand All @@ -335,6 +337,7 @@ void cn_del_callback(struct cb_id *id)
cn_queue_del_callback(dev->cbdev, id);
cn_notify(id, 1);
}
EXPORT_SYMBOL_GPL(cn_del_callback);

/*
* Checks two connector's control messages to be the same.
Expand Down Expand Up @@ -488,7 +491,3 @@ static void __devexit cn_fini(void)

subsys_initcall(cn_init);
module_exit(cn_fini);

EXPORT_SYMBOL_GPL(cn_add_callback);
EXPORT_SYMBOL_GPL(cn_del_callback);
EXPORT_SYMBOL_GPL(cn_netlink_send);
1 change: 1 addition & 0 deletions drivers/w1/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ menu "Dallas's 1-wire bus"

config W1
tristate "Dallas's 1-wire support"
depends on CONNECTOR
---help---
Dallas' 1-wire bus is useful to connect slow 1-pin devices
such as iButtons and thermal sensors.
Expand Down

0 comments on commit deb0e9b

Please sign in to comment.