Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344923
b: refs/heads/master
c: 610ac93
h: refs/heads/master
i:
  344921: 8c5d261
  344919: 88a6fa2
v: v3
  • Loading branch information
Greg Ungerer committed Dec 5, 2012
1 parent d660bf6 commit 3b8909d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 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: 423c01eac31fe9e6c9eee7bf45ace9abcd57251b
refs/heads/master: 610ac9381e41e8bdcd5482c24028bc777404321f
9 changes: 8 additions & 1 deletion trunk/arch/m68k/include/asm/mcfclk.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

struct clk;

#ifdef MCFPM_PPMCR0
struct clk_ops {
void (*enable)(struct clk *);
void (*disable)(struct clk *);
Expand All @@ -23,6 +22,8 @@ struct clk {
};

extern struct clk *mcf_clks[];

#ifdef MCFPM_PPMCR0
extern struct clk_ops clk_ops0;
#ifdef MCFPM_PPMCR1
extern struct clk_ops clk_ops1;
Expand All @@ -38,6 +39,12 @@ static struct clk __clk_##clk_bank##_##clk_slot = { \

void __clk_init_enabled(struct clk *);
void __clk_init_disabled(struct clk *);
#else
#define DEFINE_CLK(clk_ref, clk_name, clk_rate) \
static struct clk clk_##clk_ref = { \
.name = clk_name, \
.rate = clk_rate, \
}
#endif /* MCFPM_PPMCR0 */

#endif /* mcfclk_h */

0 comments on commit 3b8909d

Please sign in to comment.