--- tmp/drivers/media/platform/msm/camera_v2/sensor/flash/msm_led_trigger.c	2017-06-10 07:55:20.150344816 -0700
+++ tmp2/drivers/media/platform/msm/camera_v2/sensor/flash/msm_led_trigger.c	2017-06-10 08:00:54.947991704 -0700
@@ -39,7 +39,7 @@
 extern void ktd2692_flash_on(unsigned data);
 #endif
 
-extern int system_rev;
+extern unsigned int system_rev;
 
 
 /*#define CONFIG_MSMB_CAMERA_DEBUG*/
--- tmp/drivers/battery/sec_board-battery.c	2017-06-10 07:25:56.599299072 -0700
+++ tmp2/drivers/battery/sec_board-battery.c	2017-06-10 07:26:28.675483196 -0700
@@ -59,7 +59,7 @@
 #else
 extern int current_cable_type;
 #endif
-extern int system_rev;
+extern unsigned int system_rev;
 extern bool is_cable_attached;
 static struct qpnp_vadc_chip *adc_client;
 
--- tmp/drivers/misc/sm5703-muic.c	2017-06-10 08:03:37.192809622 -0700
+++ tmp2/drivers/misc/sm5703-muic.c	2017-06-10 08:07:19.757944677 -0700
@@ -55,7 +55,7 @@
 extern int spmi_ext_register_writel_extra(u8 sid, u16 ad, u8 *buf, int len);
 extern int spmi_ext_register_readl_extra(u8 sid, u16 ad, u8 *buf, int len);
 
-extern int system_rev;
+extern unsigned int system_rev;
 
 #define INT_MASK1                   0x5C
 #define INT_MASK2                   0x00
