Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 191693
b: refs/heads/master
c: 67bbabb
h: refs/heads/master
i:
  191691: 52f6590
v: v3
  • Loading branch information
Magnus Damm authored and Paul Mundt committed May 13, 2010
1 parent 8e7f3a0 commit aead896
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9c352bcab7f28e472b06c91d57210b93e08f0fbb
refs/heads/master: 67bbabbc8680f53c7b8780d991f655c5cbb88700
2 changes: 0 additions & 2 deletions trunk/arch/sh/boards/mach-ecovec24/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -710,8 +710,6 @@ static struct clk_ops fsimck_clk_ops = {
};

static struct clk fsimckb_clk = {
.name = "fsimckb_clk",
.id = -1,
.ops = &fsimck_clk_ops,
.enable_reg = (void __iomem *)FCLKBCR,
.rate = 0, /* unknown */
Expand Down
12 changes: 11 additions & 1 deletion trunk/arch/sh/boards/mach-highlander/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* for more details.
*/
#include <linux/init.h>
#include <linux/io.h>
#include <linux/platform_device.h>
#include <linux/ata_platform.h>
#include <linux/types.h>
Expand All @@ -26,6 +27,7 @@
#include <net/ax88796.h>
#include <asm/machvec.h>
#include <mach/highlander.h>
#include <asm/clkdev.h>
#include <asm/clock.h>
#include <asm/heartbeat.h>
#include <asm/io.h>
Expand Down Expand Up @@ -326,14 +328,20 @@ static struct clk_ops ivdr_clk_ops = {
};

static struct clk ivdr_clk = {
.name = "ivdr_clk",
.ops = &ivdr_clk_ops,
};

static struct clk *r7780rp_clocks[] = {
&ivdr_clk,
};

#define CLKDEV_CON_ID(_id, _clk) { .con_id = _id, .clk = _clk }

static struct clk_lookup lookups[] = {
/* main clocks */
CLKDEV_CON_ID("ivdr_clk", &ivdr_clk),
};

static void r7780rp_power_off(void)
{
if (mach_is_r7780mp() || mach_is_r7785rp())
Expand Down Expand Up @@ -370,6 +378,8 @@ static void __init highlander_setup(char **cmdline_p)
clk_enable(clk);
}

clkdev_add_table(lookups, ARRAY_SIZE(lookups));

__raw_writew(0x0000, PA_OBLED); /* Clear LED. */

if (mach_is_r7780rp())
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/sh/boards/mach-se/7724/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,6 @@ static struct clk_ops fsimck_clk_ops = {
};

static struct clk fsimcka_clk = {
.name = "fsimcka_clk",
.id = -1,
.ops = &fsimck_clk_ops,
.enable_reg = (void __iomem *)FCLKACR,
.rate = 0, /* unknown */
Expand Down

0 comments on commit aead896

Please sign in to comment.