summaryrefslogtreecommitdiff
path: root/drivers/regulator
diff options
context:
space:
mode:
authorJuha Tukkinen <jtukkinen@nvidia.com>2012-02-28 09:42:10 +0200
committerSimone Willett <swillett@nvidia.com>2012-02-29 17:04:44 -0800
commit6ab11b6ed9c0c1e7174ebb572842d47826431d67 (patch)
treef08df9862256c461345d235da449d9ff372bf90b /drivers/regulator
parentdd33d027f8b7f8e809a0bed091fc68aef0460b68 (diff)
regulator: add GCOV_PROFILE
Add GCOV profiling for regulators in Makefile. This change has no effect if CONFIG_GCOV_KERNEL is not set in defconfig. This patch only makes it easier to trigger GCOV for the kernel. Change-Id: I921647e2742cda870ebb99afe3f63544396b7f02 Signed-off-by: Juha Tukkinen <jtukkinen@nvidia.com> Reviewed-on: http://git-master/r/86277 Tested-by: Gerrit_Virtual_Submit Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/Makefile b/drivers/regulator/Makefile
index 41c51ac1f4b0..41ddca80e0ce 100644
--- a/drivers/regulator/Makefile
+++ b/drivers/regulator/Makefile
@@ -1,7 +1,7 @@
#
# Makefile for regulator drivers.
#
-
+GCOV_PROFILE := y
obj-$(CONFIG_REGULATOR) += core.o dummy.o
obj-$(CONFIG_REGULATOR_FIXED_VOLTAGE) += fixed.o