From 38f1006d11df2c2f26a386184ee0bfa99f0abd9c Mon Sep 17 00:00:00 2001 From: ninez Date: Tue, 11 Oct 2016 15:09:36 -0400 Subject: [PATCH] misc: Fix system_rev type mismatch * Samsung sources have type mismatches in 3 of their drivers. This was uncovered using linaro's toolchain for kernel compilation. Change-Id: If3a083ffcb2a15185ff208b22976509ffd8af5e8 Signed-off-by: Kevin F. Haggerty --- drivers/extcon/extcon-max77804k.c | 2 +- drivers/input/touchscreen/synaptics/synaptics_i2c_rmi.h | 2 +- include/linux/sii8240.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/extcon/extcon-max77804k.c b/drivers/extcon/extcon-max77804k.c index 2c8119d430f..9ecdf5c6e10 100644 --- a/drivers/extcon/extcon-max77804k.c +++ b/drivers/extcon/extcon-max77804k.c @@ -1056,7 +1056,7 @@ void max77804k_muic_send_event(int val) kobject_uevent_env(&gInfo->dev->kobj, KOBJ_CHANGE, envp); } -extern int system_rev; +extern unsigned int system_rev; #if defined(CONFIG_MUIC_DET_JACK) static void max77804k_muic_earjack_detect_workfunc(struct work_struct *work) diff --git a/drivers/input/touchscreen/synaptics/synaptics_i2c_rmi.h b/drivers/input/touchscreen/synaptics/synaptics_i2c_rmi.h index dabb86a40f7..2b46f4568e6 100644 --- a/drivers/input/touchscreen/synaptics/synaptics_i2c_rmi.h +++ b/drivers/input/touchscreen/synaptics/synaptics_i2c_rmi.h @@ -557,7 +557,7 @@ #endif -extern int system_rev; +extern unsigned int system_rev; struct synaptics_rmi4_f01_device_status { union { diff --git a/include/linux/sii8240.h b/include/linux/sii8240.h index a628b15f7a5..5302a95d3ac 100644 --- a/include/linux/sii8240.h +++ b/include/linux/sii8240.h @@ -110,7 +110,7 @@ struct sii8240_platform_data { bool is_smartdock; #endif }; -extern int system_rev; +extern unsigned int system_rev; int acc_register_notifier(struct notifier_block *nb); #endif /* __SII8240_H__ */