Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 180247
b: refs/heads/master
c: 8d08436
h: refs/heads/master
i:
  180245: 94a9cf5
  180243: 449c69a
  180239: 294e04a
v: v3
  • Loading branch information
Kevin Hilman authored and Tony Lindgren committed Feb 3, 2010
1 parent b31ed57 commit d43339d
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 74005a2b116203f618fe784d88ad7e6071bb1554
refs/heads/master: 8d08436d782d177747a0fac1e1455a44b932b7c6
5 changes: 4 additions & 1 deletion trunk/arch/arm/mach-omap2/gpmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ static void __init gpmc_mem_init(void)
void __init gpmc_init(void)
{
u32 l;
char *ck;
char *ck = NULL;

if (cpu_is_omap24xx()) {
ck = "core_l3_ck";
Expand All @@ -521,6 +521,9 @@ void __init gpmc_init(void)
l = OMAP44XX_GPMC_BASE;
}

if (WARN_ON(!ck))
return;

gpmc_l3_clk = clk_get(NULL, ck);
if (IS_ERR(gpmc_l3_clk)) {
printk(KERN_ERR "Could not get GPMC clock %s\n", ck);
Expand Down

0 comments on commit d43339d

Please sign in to comment.