platform: msm_shared: Fix data type for freq table
We need to update the frequency plan at runtime for some
platforms, so remove const qualifier for freq table.
CRs-Fixed: 501718
Change-Id: Ieecd80d194bc6e6473794e6bed4c7381fe5786b2
diff --git a/platform/msm_shared/include/clock-local.h b/platform/msm_shared/include/clock-local.h
index a9f1151..7a7d9fd 100644
--- a/platform/msm_shared/include/clock-local.h
+++ b/platform/msm_shared/include/clock-local.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -130,7 +130,7 @@
struct bank_masks *const bank_masks;
void (*set_rate)(struct rcg_clk *, struct clk_freq_tbl *);
- struct clk_freq_tbl *const freq_tbl;
+ struct clk_freq_tbl *freq_tbl;
struct clk_freq_tbl *current_freq;
struct clk *depends;
diff --git a/platform/msm_shared/include/clock_lib2.h b/platform/msm_shared/include/clock_lib2.h
index 7998a89..e808c87 100644
--- a/platform/msm_shared/include/clock_lib2.h
+++ b/platform/msm_shared/include/clock_lib2.h
@@ -156,7 +156,7 @@
void (*set_rate)(struct rcg_clk *, struct clk_freq_tbl *);
/* freq table */
- struct clk_freq_tbl *const freq_tbl;
+ struct clk_freq_tbl *freq_tbl;
struct clk_freq_tbl *current_freq;
struct clk c;