]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
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 fea2d3ed9cbdacd57661f5a1a5227a1bde2ffeb2..85e2ba7fcfbab1b4533079da8bd812f22203952d 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 da6dd957f9089ab1523f2d150c7a7696884d6964..96a89d3d6727470daefb453d8c44c061294930da 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 */