diff --git a/linux-ramdump-parser-v2/parsers/clockdump.py b/linux-ramdump-parser-v2/parsers/clockdump.py
index d9d04eadc0adfe280eea87edfbd53b5664a5e01b..0891f00ad5eb50d6eb6b6ca55e9cfb26d77995c6 100644
--- a/linux-ramdump-parser-v2/parsers/clockdump.py
+++ b/linux-ramdump-parser-v2/parsers/clockdump.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2015,2017 The Linux Foundation. All rights reserved.
+# Copyright (c) 2015,2017-2018 The Linux Foundation. All rights reserved.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 and
@@ -267,7 +267,7 @@ class ClockDumps(RamParser):
                                     'struct of_clk_provider', 'data')
         data = self.ramdump.read_word(data_address, True)
 
-        if (self.ramdump.kernel_version < (4, 4, 38)):
+        if (self.ramdump.is_config_defined('CONFIG_COMMON_CLK_MSM')):
             self.print_clk_of_msm_provider_data(data)
         else:
             self.print_clk_onecell_data(data)