summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-04-28 17:39:37 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2008-05-02 19:25:51 +0200
commit43c1e98c87013757ef02c50a6e43bafeb6871f68 (patch)
tree6941c52866c1987125f0e7fca5b22240f3bd587c /drivers
parentusb-storage: fix build failure in OneTouch driver (diff)
downloadlinux-43c1e98c87013757ef02c50a6e43bafeb6871f68.tar.xz
linux-43c1e98c87013757ef02c50a6e43bafeb6871f68.zip
USB: storage/onetouch.c: make a function static
This patch makes the needlessly global onetouch_release_input() static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/storage/onetouch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/storage/onetouch.c b/drivers/usb/storage/onetouch.c
index dfd42fe9e5f0..98b89ea9e312 100644
--- a/drivers/usb/storage/onetouch.c
+++ b/drivers/usb/storage/onetouch.c
@@ -38,7 +38,7 @@
#include "onetouch.h"
#include "debug.h"
-void onetouch_release_input(void *onetouch_);
+static void onetouch_release_input(void *onetouch_);
struct usb_onetouch {
char name[128];
@@ -223,7 +223,7 @@ int onetouch_connect_input(struct us_data *ss)
return error;
}
-void onetouch_release_input(void *onetouch_)
+static void onetouch_release_input(void *onetouch_)
{
struct usb_onetouch *onetouch = (struct usb_onetouch *) onetouch_;