diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2008-02-26 21:25:53 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-26 21:42:44 -0500 |
commit | 78374676efae525094aee45c0aab4bcab95ea9d1 (patch) | |
tree | 1635b7247e7f30d537cb8b9a96a5010e1de5bea6 | |
parent | 148f97292e8fa2c35fcef60a7725cf1b073d6818 (diff) |
CONNECTOR: make cn_already_initialized static
It is used in connector.c only, so make it static.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/connector/connector.c | 2 | ||||
-rw-r--r-- | include/linux/connector.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/connector/connector.c b/drivers/connector/connector.c index fea2d3ed9cbd..85e2ba7fcfba 100644 --- a/drivers/connector/connector.c +++ b/drivers/connector/connector.c | |||
@@ -47,7 +47,7 @@ static LIST_HEAD(notify_list); | |||
47 | 47 | ||
48 | static struct cn_dev cdev; | 48 | static struct cn_dev cdev; |
49 | 49 | ||
50 | int cn_already_initialized = 0; | 50 | static int cn_already_initialized; |
51 | 51 | ||
52 | /* | 52 | /* |
53 | * msg->seq and msg->ack are used to determine message genealogy. | 53 | * msg->seq and msg->ack are used to determine message genealogy. |
diff --git a/include/linux/connector.h b/include/linux/connector.h index da6dd957f908..96a89d3d6727 100644 --- a/include/linux/connector.h +++ b/include/linux/connector.h | |||
@@ -170,7 +170,5 @@ int cn_cb_equal(struct cb_id *, struct cb_id *); | |||
170 | 170 | ||
171 | void cn_queue_wrapper(struct work_struct *work); | 171 | void cn_queue_wrapper(struct work_struct *work); |
172 | 172 | ||
173 | extern int cn_already_initialized; | ||
174 | |||
175 | #endif /* __KERNEL__ */ | 173 | #endif /* __KERNEL__ */ |
176 | #endif /* __CONNECTOR_H */ | 174 | #endif /* __CONNECTOR_H */ |