hwmon: Add GCOV_PROFILE
Konsta Holtta [Mon, 7 Jan 2013 13:06:33 +0000 (15:06 +0200)]
Include hwmon in GCOV profiling when enabled by defconfig.

Change-Id: I0b01bdb87b6d8acac552a09070c7a151319b0bcf
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/189995
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

drivers/hwmon/Makefile

index 300d681..5ab839e 100644 (file)
@@ -2,6 +2,8 @@
 # Makefile for sensor chip drivers.
 #
 
+GCOV_PROFILE := y
+
 obj-$(CONFIG_HWMON)            += hwmon.o
 obj-$(CONFIG_HWMON_VID)                += hwmon-vid.o