Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 356473
b: refs/heads/master
c: ca88da3
h: refs/heads/master
i:
  356471: 1614b67
v: v3
  • Loading branch information
Anatolij Gustschin committed Feb 5, 2013
1 parent 0f44923 commit 4e559d9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 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: a9571a3837dc4b0b478297e4eaf84332d0f129d1
refs/heads/master: ca88da3c57c8ef7f43f895a637cf06e7a225dbca
1 change: 1 addition & 0 deletions trunk/arch/powerpc/include/asm/mpc5121.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,6 @@ struct mpc512x_lpc {
};

int mpc512x_cs_config(unsigned int cs, u32 val);
int __init mpc5121_clk_init(void);

#endif /* __ASM_POWERPC_MPC5121_H__ */
7 changes: 4 additions & 3 deletions trunk/arch/powerpc/platforms/512x/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

#include <linux/of_platform.h>
#include <asm/mpc5xxx.h>
#include <asm/mpc5121.h>
#include <asm/clk_interface.h>

#undef CLK_DEBUG
Expand Down Expand Up @@ -122,7 +123,7 @@ struct mpc512x_clockctl {
u32 dccr; /* DIU Clk Cnfg Reg */
};

struct mpc512x_clockctl __iomem *clockctl;
static struct mpc512x_clockctl __iomem *clockctl;

static int mpc5121_clk_enable(struct clk *clk)
{
Expand Down Expand Up @@ -551,7 +552,7 @@ static struct clk ac97_clk = {
.calc = ac97_clk_calc,
};

struct clk *rate_clks[] = {
static struct clk *rate_clks[] = {
&ref_clk,
&sys_clk,
&diu_clk,
Expand Down Expand Up @@ -607,7 +608,7 @@ static void rate_clks_init(void)
* There are two clk enable registers with 32 enable bits each
* psc clocks and device clocks are all stored in dev_clks
*/
struct clk dev_clks[2][32];
static struct clk dev_clks[2][32];

/*
* Given a psc number return the dev_clk
Expand Down

0 comments on commit 4e559d9

Please sign in to comment.