[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20061120022357.GJ31879@stusta.de>
Date: Mon, 20 Nov 2006 03:23:58 +0100
From: Adrian Bunk <bunk@...sta.de>
To: Ping Cheng <pingc@...om.com>
Cc: gregkh@...e.de, linux-usb-devel@...ts.sourceforge.net,
linux-kernel@...r.kernel.org
Subject: [2.6 patch] make drivers/usb/input/wacom_sys.c:wacom_sys_irq() static
This patch makes the needlessly global wacom_sys_irq() static.
Signed-off-by: Adrian Bunk <bunk@...sta.de>
---
drivers/usb/input/wacom.h | 1 -
drivers/usb/input/wacom_sys.c | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
--- linux-2.6.19-rc5-mm2/drivers/usb/input/wacom.h.old 2006-11-20 01:05:38.000000000 +0100
+++ linux-2.6.19-rc5-mm2/drivers/usb/input/wacom.h 2006-11-20 01:05:44.000000000 +0100
@@ -110,7 +110,6 @@
};
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);
--- linux-2.6.19-rc5-mm2/drivers/usb/input/wacom_sys.c.old 2006-11-20 01:05:52.000000000 +0100
+++ linux-2.6.19-rc5-mm2/drivers/usb/input/wacom_sys.c 2006-11-20 01:05:58.000000000 +0100
@@ -42,7 +42,7 @@
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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists