From: Roel Kluin Date: Sat, 20 Dec 2008 10:19:43 +0000 (-0500) Subject: Input: make some variables and functions static X-Git-Tag: v2.6.29-rc1~221^2~1^2~9 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0de048aba1b751ee19a747dc4c82636579e47b85;p=linux-2.6-omap-h63xx.git Input: make some variables and functions static Signed-off-by: Roel Kluin Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/mouse/gpio_mouse.c b/drivers/input/mouse/gpio_mouse.c index 72cf5e33790..0db8d16c5ed 100644 --- a/drivers/input/mouse/gpio_mouse.c +++ b/drivers/input/mouse/gpio_mouse.c @@ -173,7 +173,7 @@ static int __devexit gpio_mouse_remove(struct platform_device *pdev) /* work with hotplug and coldplug */ MODULE_ALIAS("platform:gpio_mouse"); -struct platform_driver gpio_mouse_device_driver = { +static struct platform_driver gpio_mouse_device_driver = { .remove = __devexit_p(gpio_mouse_remove), .driver = { .name = "gpio_mouse", diff --git a/drivers/input/tablet/wacom_wac.c b/drivers/input/tablet/wacom_wac.c index 8dc8d1e59be..2638811c61a 100644 --- a/drivers/input/tablet/wacom_wac.c +++ b/drivers/input/tablet/wacom_wac.c @@ -535,7 +535,7 @@ static int wacom_intuos_irq(struct wacom_wac *wacom, void *wcombo) return 1; } -int wacom_tpc_irq(struct wacom_wac *wacom, void *wcombo) +static int wacom_tpc_irq(struct wacom_wac *wacom, void *wcombo) { char *data = wacom->data; int prox = 0, pressure;