Skip to content

Commit

Permalink
Input: ALPS - make alps_get_pkt_id_ss4_v2() and others static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fengguang Wu authored and Dmitry Torokhov committed Apr 11, 2015
1 parent 8d28984 commit 07f19e3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions drivers/input/mouse/alps.c
Original file line number Diff line number Diff line change
Expand Up @@ -1093,7 +1093,7 @@ static void alps_process_packet_v7(struct psmouse *psmouse)
alps_process_touchpad_packet_v7(psmouse);
}

unsigned char alps_get_pkt_id_ss4_v2(unsigned char *byte)
static unsigned char alps_get_pkt_id_ss4_v2(unsigned char *byte)
{
unsigned char pkt_id = SS4_PACKET_ID_IDLE;

Expand Down Expand Up @@ -2340,8 +2340,8 @@ static int alps_get_otp_values_ss4_v2(struct psmouse *psmouse,
return 0;
}

int alps_update_device_area_ss4_v2(unsigned char otp[][4],
struct alps_data *priv)
static int alps_update_device_area_ss4_v2(unsigned char otp[][4],
struct alps_data *priv)
{
int num_x_electrode;
int num_y_electrode;
Expand All @@ -2365,9 +2365,9 @@ int alps_update_device_area_ss4_v2(unsigned char otp[][4],
return 0;
}

int alps_update_btn_info_ss4_v2(unsigned char otp[][4], struct alps_data *priv)
static int alps_update_btn_info_ss4_v2(unsigned char otp[][4],
struct alps_data *priv)
{

unsigned char is_btnless;

is_btnless = (otp[1][1] >> 3) & 0x01;
Expand Down

0 comments on commit 07f19e3

Please sign in to comment.