diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-07-04 10:57:09 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2012-07-23 08:54:32 -0400 |
commit | d9831a41e3409ae60e0cac353272d8ae4996b442 (patch) | |
tree | 9b0d8607984f49e6999f56423ea907dfd03fd084 /arch/mips/bcm63xx/clk.c | |
parent | 28a33cbc24e4256c143dce96c7d93bf423229f92 (diff) |
MIPS: BCM63XX: Be consistent in clock bits enable naming
Remove the _CLK suffix from the BCM6368 clock bits definitions to be
consistent with what is already present.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3312/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/bcm63xx/clk.c')
-rw-r--r-- | arch/mips/bcm63xx/clk.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/bcm63xx/clk.c b/arch/mips/bcm63xx/clk.c index 9d57c71b7b58..8d2ea223f102 100644 --- a/arch/mips/bcm63xx/clk.c +++ b/arch/mips/bcm63xx/clk.c | |||
@@ -120,7 +120,7 @@ static void enetsw_set(struct clk *clk, int enable) | |||
120 | { | 120 | { |
121 | if (!BCMCPU_IS_6368()) | 121 | if (!BCMCPU_IS_6368()) |
122 | return; | 122 | return; |
123 | bcm_hwclock_set(CKCTL_6368_ROBOSW_CLK_EN | | 123 | bcm_hwclock_set(CKCTL_6368_ROBOSW_EN | |
124 | CKCTL_6368_SWPKT_USB_EN | | 124 | CKCTL_6368_SWPKT_USB_EN | |
125 | CKCTL_6368_SWPKT_SAR_EN, enable); | 125 | CKCTL_6368_SWPKT_SAR_EN, enable); |
126 | if (enable) { | 126 | if (enable) { |
@@ -163,7 +163,7 @@ static void usbh_set(struct clk *clk, int enable) | |||
163 | if (BCMCPU_IS_6348()) | 163 | if (BCMCPU_IS_6348()) |
164 | bcm_hwclock_set(CKCTL_6348_USBH_EN, enable); | 164 | bcm_hwclock_set(CKCTL_6348_USBH_EN, enable); |
165 | else if (BCMCPU_IS_6368()) | 165 | else if (BCMCPU_IS_6368()) |
166 | bcm_hwclock_set(CKCTL_6368_USBH_CLK_EN, enable); | 166 | bcm_hwclock_set(CKCTL_6368_USBH_EN, enable); |
167 | } | 167 | } |
168 | 168 | ||
169 | static struct clk clk_usbh = { | 169 | static struct clk clk_usbh = { |
@@ -199,7 +199,7 @@ static void xtm_set(struct clk *clk, int enable) | |||
199 | if (!BCMCPU_IS_6368()) | 199 | if (!BCMCPU_IS_6368()) |
200 | return; | 200 | return; |
201 | 201 | ||
202 | bcm_hwclock_set(CKCTL_6368_SAR_CLK_EN | | 202 | bcm_hwclock_set(CKCTL_6368_SAR_EN | |
203 | CKCTL_6368_SWPKT_SAR_EN, enable); | 203 | CKCTL_6368_SWPKT_SAR_EN, enable); |
204 | 204 | ||
205 | if (enable) { | 205 | if (enable) { |