[2.6 patch] usb/storage/onetouch.c: make a function static

From: Adrian Bunk
Date: Mon Apr 28 2008 - 11:46:50 EST


This patch makes the needlessly global onetouch_release_input() static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>

---

drivers/usb/storage/onetouch.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

3bb10b5aab1aefed48029c92edd49f3362ab6311 diff --git a/drivers/usb/storage/onetouch.c b/drivers/usb/storage/onetouch.c
index dfd42fe..98b89ea 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_;


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/