From: s.trumtrar@pengutronix.de (Steffen Trumtrar)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH V2 2/4] ARM: socfpga: clk: fix define typo
Date: Wed, 18 Dec 2013 18:03:00 +0100 [thread overview]
Message-ID: <1387386182-30923-3-git-send-email-s.trumtrar@pengutronix.de> (raw)
In-Reply-To: <1387386182-30923-1-git-send-email-s.trumtrar@pengutronix.de>
It should be SOCFPGA instead of SOCFGPA.
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
drivers/clk/socfpga/clk.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/clk/socfpga/clk.c b/drivers/clk/socfpga/clk.c
index 4503863..f140ece 100644
--- a/drivers/clk/socfpga/clk.c
+++ b/drivers/clk/socfpga/clk.c
@@ -46,7 +46,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"
@@ -290,7 +290,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;
@@ -337,7 +337,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++;
--
1.8.5.1
next prev parent reply other threads:[~2013-12-18 17:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-18 17:02 [PATCH V2 0/4] socfpga: clk: trivial fixes and cleanup Steffen Trumtrar
2013-12-18 17:02 ` [PATCH V2 1/4] ARM: socfpga: clk: remove unused field Steffen Trumtrar
2013-12-18 17:03 ` Steffen Trumtrar [this message]
2013-12-18 17:03 ` [PATCH V2 3/4] ARM: socfpga: clk: fix compile error Steffen Trumtrar
2013-12-18 17:03 ` [PATCH V2 4/4] ARM: socfpga: clk: split clk code Steffen Trumtrar
2013-12-18 22:56 ` [PATCH V2 0/4] socfpga: clk: trivial fixes and cleanup Mike Turquette
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1387386182-30923-3-git-send-email-s.trumtrar@pengutronix.de \
--to=s.trumtrar@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).