Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

USB: 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@stusta.de>
Signed-off-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Adrian Bunk and committed by
Greg Kroah-Hartman
54c9b226 d5ec1686

+1 -2
-1
drivers/usb/input/wacom.h
··· 110 110 }; 111 111 112 112 extern int wacom_wac_irq(struct wacom_wac * wacom_wac, void * wcombo); 113 - extern void wacom_sys_irq(struct urb *urb); 114 113 extern void wacom_report_abs(void *wcombo, unsigned int abs_type, int abs_data); 115 114 extern void wacom_report_rel(void *wcombo, unsigned int rel_type, int rel_data); 116 115 extern void wacom_report_key(void *wcombo, unsigned int key_type, int key_data);
+1 -1
drivers/usb/input/wacom_sys.c
··· 42 42 return wcombo->wacom->dev; 43 43 } 44 44 45 - void wacom_sys_irq(struct urb *urb) 45 + static void wacom_sys_irq(struct urb *urb) 46 46 { 47 47 struct wacom *wacom = urb->context; 48 48 struct wacom_combo wcombo;