Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 187386
b: refs/heads/master
c: f3b464c
h: refs/heads/master
v: v3
  • Loading branch information
Ben Dooks committed Jan 18, 2010
1 parent 73b558b commit 4c6bdd9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: b8792dbff6ed93c5a77f71917d4a0c5efa12eee1
refs/heads/master: f3b464cca94c4a8f54fbc11ec5af8b143fd1750b
6 changes: 4 additions & 2 deletions trunk/arch/arm/plat-samsung/clock-clksrc.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,11 @@ void __init s3c_register_clksrc(struct clksrc_clk *clksrc, int size)
{
int ret;

WARN_ON(!clksrc->reg_div.reg && !clksrc->reg_src.reg);

for (; size > 0; size--, clksrc++) {
if (!clksrc->reg_div.reg && !clksrc->reg_src.reg)
printk(KERN_ERR "%s: clock %s has no registers set\n",
__func__, clksrc->clk.name);

/* fill in the default functions */

if (!clksrc->clk.ops) {
Expand Down

0 comments on commit 4c6bdd9

Please sign in to comment.