Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 581e25cf authored by Chun Zhang's avatar Chun Zhang
Browse files

input: atmel_mxt_ts: change data type to make compatibility



Attribute config_length has a type that is not compatible with
Linux API. Change type from size_t to int to make compatibility
and stop compilation error.

Change-Id: I2bcdb2fd19b0635aebf298b27390cdb2dbcd1bcf
Signed-off-by: default avatarChun Zhang <chunz@codeaurora.org>
parent 16103798
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
 *
 * Copyright (C) 2010 Samsung Electronics Co.Ltd
 * Author: Joonyoung Shim <jy0922.shim@samsung.com>
 * Copyright (c) 2011-2013, The Linux Foundation. All rights reserved.
 * Copyright (c) 2011-2014, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute  it and/or modify it
 * under  the terms of  the GNU General  Public License as published by the
@@ -43,7 +43,7 @@
/* Config data for a given maXTouch controller with a specific firmware */
struct mxt_config_info {
	const u8 *config;
	size_t config_length;
	int config_length;
	u8 family_id;
	u8 variant_id;
	u8 version;