]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Input: make some variables and functions static
authorRoel Kluin <roel.kluin@gmail.com>
Sat, 20 Dec 2008 10:19:43 +0000 (05:19 -0500)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 20 Dec 2008 20:11:18 +0000 (15:11 -0500)
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/gpio_mouse.c
drivers/input/tablet/wacom_wac.c

index 72cf5e33790ea6e0541b7e351e53e2cf03803bd4..0db8d16c5eddafd297edcf25b3387968d976d135 100644 (file)
@@ -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",
index 8dc8d1e59beaeeb1a1f154ba122e929d7f45e492..2638811c61ace2eff774a5bf212f1043036e978a 100644 (file)
@@ -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;