Skip to contentSkip to conversation

make drivers/usb/input/wacom_sys.c:wacom_sys_irq() static

PATCH New Adrian Bunk 1 participant 1 message Nov 20, 2006 USB

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make drivers/usb/input/wacom_sys.c:wacom_sys_irq() static

This patch makes the needlessly global wacom_sys_irq() static.

---

 drivers/usb/input/wacom.h     |    1 -
 drivers/usb/input/wacom_sys.c |    2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)
drivers/usb/input/wacom.h renamed from drivers/usb/input/wacom.h.old +0 -1
@@ -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);
drivers/usb/input/wacom_sys.c renamed from drivers/usb/input/wacom_sys.c.old +1 -1
@@ -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;