summaryrefslogtreecommitdiff
path: root/arch/arm/mach-msm/clock-debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-msm/clock-debug.c')
-rw-r--r--arch/arm/mach-msm/clock-debug.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-msm/clock-debug.c b/arch/arm/mach-msm/clock-debug.c
index b67b9e82ece6..4886404d42f5 100644
--- a/arch/arm/mach-msm/clock-debug.c
+++ b/arch/arm/mach-msm/clock-debug.c
@@ -19,7 +19,6 @@
#include <linux/debugfs.h>
#include <linux/clk.h>
#include "clock.h"
-#include "clock-pcom.h"
static int clock_debug_rate_set(void *data, u64 val)
{
@@ -79,7 +78,7 @@ static int clock_debug_local_get(void *data, u64 *val)
{
struct clk *clock = data;
- *val = clock->ops != &clk_ops_pcom;
+ *val = clock->ops->is_local(clock->id);
return 0;
}