diff options
author | Fengguang Wu <fengguang.wu@intel.com> | 2015-04-11 02:54:31 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-04-11 03:02:46 -0400 |
commit | 07f19e3db89507ff902b1bb0f64a25ea161d645c (patch) | |
tree | 6555c825a841470f7ffd7fa28d7b7c6ccc58b6ae /drivers/input | |
parent | 8d289842c8ab99edc9437609bd41656295b72cf9 (diff) |
Input: ALPS - make alps_get_pkt_id_ss4_v2() and others static
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/mouse/alps.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/input/mouse/alps.c b/drivers/input/mouse/alps.c index 51716eb8ef1e..15d6bffdea77 100644 --- a/drivers/input/mouse/alps.c +++ b/drivers/input/mouse/alps.c | |||
@@ -1093,7 +1093,7 @@ static void alps_process_packet_v7(struct psmouse *psmouse) | |||
1093 | alps_process_touchpad_packet_v7(psmouse); | 1093 | alps_process_touchpad_packet_v7(psmouse); |
1094 | } | 1094 | } |
1095 | 1095 | ||
1096 | unsigned char alps_get_pkt_id_ss4_v2(unsigned char *byte) | 1096 | static unsigned char alps_get_pkt_id_ss4_v2(unsigned char *byte) |
1097 | { | 1097 | { |
1098 | unsigned char pkt_id = SS4_PACKET_ID_IDLE; | 1098 | unsigned char pkt_id = SS4_PACKET_ID_IDLE; |
1099 | 1099 | ||
@@ -2340,8 +2340,8 @@ static int alps_get_otp_values_ss4_v2(struct psmouse *psmouse, | |||
2340 | return 0; | 2340 | return 0; |
2341 | } | 2341 | } |
2342 | 2342 | ||
2343 | int alps_update_device_area_ss4_v2(unsigned char otp[][4], | 2343 | static int alps_update_device_area_ss4_v2(unsigned char otp[][4], |
2344 | struct alps_data *priv) | 2344 | struct alps_data *priv) |
2345 | { | 2345 | { |
2346 | int num_x_electrode; | 2346 | int num_x_electrode; |
2347 | int num_y_electrode; | 2347 | int num_y_electrode; |
@@ -2365,9 +2365,9 @@ int alps_update_device_area_ss4_v2(unsigned char otp[][4], | |||
2365 | return 0; | 2365 | return 0; |
2366 | } | 2366 | } |
2367 | 2367 | ||
2368 | int alps_update_btn_info_ss4_v2(unsigned char otp[][4], struct alps_data *priv) | 2368 | static int alps_update_btn_info_ss4_v2(unsigned char otp[][4], |
2369 | struct alps_data *priv) | ||
2369 | { | 2370 | { |
2370 | |||
2371 | unsigned char is_btnless; | 2371 | unsigned char is_btnless; |
2372 | 2372 | ||
2373 | is_btnless = (otp[1][1] >> 3) & 0x01; | 2373 | is_btnless = (otp[1][1] >> 3) & 0x01; |