]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
USB: make drivers/usb/input/wacom_sys.c:wacom_sys_irq() static
authorAdrian Bunk <bunk@stusta.de>
Mon, 20 Nov 2006 02:23:58 +0000 (03:23 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Dec 2006 22:23:30 +0000 (14:23 -0800)
This patch makes the needlessly global wacom_sys_irq() static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/input/wacom.h
drivers/usb/input/wacom_sys.c

index 1cf08f02c50e8a8871aff028f2ac01983627c2f1..d85abfc5ab58be24059330f91e1fcc1c96a0740a 100644 (file)
@@ -110,7 +110,6 @@ struct wacom_combo {
 };
 
 extern int wacom_wac_irq(struct wacom_wac * wacom_wac, void * wcombo);
-extern void wacom_sys_irq(struct urb *urb);
 extern void wacom_report_abs(void *wcombo, unsigned int abs_type, int abs_data);
 extern void wacom_report_rel(void *wcombo, unsigned int rel_type, int rel_data);
 extern void wacom_report_key(void *wcombo, unsigned int key_type, int key_data);
index 3498b893b53b62b6a792ddebcceafcb0ab5e890d..e7cc20ab8155083f235a54de6a042af92cd7afa3 100644 (file)
@@ -42,7 +42,7 @@ static struct input_dev * get_input_dev(struct wacom_combo *wcombo)
        return wcombo->wacom->dev;
 }
 
-void wacom_sys_irq(struct urb *urb)
+static void wacom_sys_irq(struct urb *urb)
 {
        struct wacom *wacom = urb->context;
        struct wacom_combo wcombo;