driver: tmon: tegra: declare,initialize FUTURE_USE
Sumit Singh [Fri, 31 Oct 2014 14:00:47 +0000 (19:00 +0530)]
Macro FUTURE_USE is used in tmon-tmp411.c file, but
not declared. So, when Werror is enabled for drivers/hwmon
directory, it is causing build error for embedded-linux.
Therefore, declare and initialize FUTURE_USE to 0.

Bug 1566945

Change-Id: Iaa438e4ba9e9c68869d1e55b879f4806b062475e
Signed-off-by: Sumit Singh <sumsingh@nvidia.com>
Reviewed-on: http://git-master/r/592133
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sreenivasulu Velpula <svelpula@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

drivers/hwmon/tmon-tmp411.c

index e3b2137..9888f92 100644 (file)
@@ -68,7 +68,7 @@
 #define STATUS_LOCAL_HIGH      0x40
 #define STATUS_RTHRM           0x02
 #define STATUS_LTHRM           0x01
-
+#define FUTURE_USE             0
 
 
 /* Based on POR values of CONVERSION RATE REGISTER (125ms) +