diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2008-12-20 05:19:43 -0500 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-12-20 15:11:18 -0500 |
commit | 0de048aba1b751ee19a747dc4c82636579e47b85 (patch) | |
tree | 4cedb7a0f6f93d5dd8497fe2ba5b9e1a0bcca690 /drivers | |
parent | 50b6f1f4a430608f7345f66ecd68a129bff11649 (diff) |
Input: make some variables and functions static
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/input/mouse/gpio_mouse.c | 2 | ||||
-rw-r--r-- | drivers/input/tablet/wacom_wac.c | 2 |
2 files changed, 2 insertions, 2 deletions
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) | |||
173 | /* work with hotplug and coldplug */ | 173 | /* work with hotplug and coldplug */ |
174 | MODULE_ALIAS("platform:gpio_mouse"); | 174 | MODULE_ALIAS("platform:gpio_mouse"); |
175 | 175 | ||
176 | struct platform_driver gpio_mouse_device_driver = { | 176 | static struct platform_driver gpio_mouse_device_driver = { |
177 | .remove = __devexit_p(gpio_mouse_remove), | 177 | .remove = __devexit_p(gpio_mouse_remove), |
178 | .driver = { | 178 | .driver = { |
179 | .name = "gpio_mouse", | 179 | .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) | |||
535 | return 1; | 535 | return 1; |
536 | } | 536 | } |
537 | 537 | ||
538 | int wacom_tpc_irq(struct wacom_wac *wacom, void *wcombo) | 538 | static int wacom_tpc_irq(struct wacom_wac *wacom, void *wcombo) |
539 | { | 539 | { |
540 | char *data = wacom->data; | 540 | char *data = wacom->data; |
541 | int prox = 0, pressure; | 541 | int prox = 0, pressure; |