summaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/elantech.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2009-09-10 04:13:20 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-09-11 07:11:38 +0200
commitb7802c5c1ea9563f3746bea09c214ccedc8600f4 (patch)
tree8feca41ff76258d05b8d4cc893b1a08e04a712f8 /drivers/input/mouse/elantech.h
parentInput: i8042 - use platform_driver_probe (diff)
downloadlinux-b7802c5c1ea9563f3746bea09c214ccedc8600f4.tar.xz
linux-b7802c5c1ea9563f3746bea09c214ccedc8600f4.zip
Input: psmouse - use boolean type
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/mouse/elantech.h')
-rw-r--r--drivers/input/mouse/elantech.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/mouse/elantech.h b/drivers/input/mouse/elantech.h
index ed848cc80814..feac5f7af966 100644
--- a/drivers/input/mouse/elantech.h
+++ b/drivers/input/mouse/elantech.h
@@ -109,10 +109,10 @@ struct elantech_data {
};
#ifdef CONFIG_MOUSE_PS2_ELANTECH
-int elantech_detect(struct psmouse *psmouse, int set_properties);
+int elantech_detect(struct psmouse *psmouse, bool set_properties);
int elantech_init(struct psmouse *psmouse);
#else
-static inline int elantech_detect(struct psmouse *psmouse, int set_properties)
+static inline int elantech_detect(struct psmouse *psmouse, bool set_properties)
{
return -ENOSYS;
}