summaryrefslogtreecommitdiffstats
path: root/drivers/clk/socfpga
diff options
context:
space:
mode:
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>2014-01-02 19:34:14 +0100
committerMike Turquette <mturquette@linaro.org>2014-02-18 23:08:12 +0100
commit0c5a1872ba04dbcf8430d805a8c34e0ee22f1f75 (patch)
tree7f89f5397131896457715edd53b1321d6db0f64d /drivers/clk/socfpga
parentclk: socfpga: remove unused field (diff)
downloadlinux-0c5a1872ba04dbcf8430d805a8c34e0ee22f1f75.tar.xz
linux-0c5a1872ba04dbcf8430d805a8c34e0ee22f1f75.zip
clk: socfpga: fix define typo
It should be SOCFPGA instead of SOCFGPA. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Dinh Nguyen <dinguyen@altera.com>
Diffstat (limited to 'drivers/clk/socfpga')
-rw-r--r--drivers/clk/socfpga/clk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/clk/socfpga/clk.c b/drivers/clk/socfpga/clk.c
index eb98c1afa15c..61aa29debdc8 100644
--- a/drivers/clk/socfpga/clk.c
+++ b/drivers/clk/socfpga/clk.c
@@ -44,7 +44,7 @@
#define SOCFPGA_PLL_DIVF_SHIFT 3
#define SOCFPGA_PLL_DIVQ_MASK 0x003F0000
#define SOCFPGA_PLL_DIVQ_SHIFT 16
-#define SOCFGPA_MAX_PARENTS 3
+#define SOCFPGA_MAX_PARENTS 3
#define SOCFPGA_L4_MP_CLK "l4_mp_clk"
#define SOCFPGA_L4_SP_CLK "l4_sp_clk"
@@ -258,7 +258,7 @@ static void __init socfpga_gate_clk_init(struct device_node *node,
struct clk *clk;
struct socfpga_clk *socfpga_clk;
const char *clk_name = node->name;
- const char *parent_name[SOCFGPA_MAX_PARENTS];
+ const char *parent_name[SOCFPGA_MAX_PARENTS];
struct clk_init_data init;
int rc;
int i = 0;
@@ -299,7 +299,7 @@ static void __init socfpga_gate_clk_init(struct device_node *node,
init.name = clk_name;
init.ops = ops;
init.flags = 0;
- while (i < SOCFGPA_MAX_PARENTS && (parent_name[i] =
+ while (i < SOCFPGA_MAX_PARENTS && (parent_name[i] =
of_clk_get_parent_name(node, i)) != NULL)
i++;