CONNECTOR: make cn_already_initialized static
authorLi Zefan <lizf@cn.fujitsu.com>
Wed, 27 Feb 2008 02:25:53 +0000 (18:25 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Feb 2008 02:42:44 +0000 (18:42 -0800)
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>
drivers/connector/connector.c
include/linux/connector.h

index fea2d3e..85e2ba7 100644 (file)
@@ -47,7 +47,7 @@ static LIST_HEAD(notify_list);
 
 static struct cn_dev cdev;
 
-int cn_already_initialized = 0;
+static int cn_already_initialized;
 
 /*
  * msg->seq and msg->ack are used to determine message genealogy.
index da6dd95..96a89d3 100644 (file)
@@ -170,7 +170,5 @@ int cn_cb_equal(struct cb_id *, struct cb_id *);
 
 void cn_queue_wrapper(struct work_struct *work);
 
-extern int cn_already_initialized;
-
 #endif                         /* __KERNEL__ */
 #endif                         /* __CONNECTOR_H */