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__ */