commit | cec444b79073e7d6ef35ced5ef63c3fd83d9b9a7 | [log] [tgz] |
---|---|---|
author | Ben Dooks <ben-linux@fluff.org> | Tue Oct 21 14:07:10 2008 +0100 |
committer | Ben Dooks <ben-linux@fluff.org> | Mon Dec 15 21:46:22 2008 +0000 |
tree | b366e0f675aa2cdbfc4fbea20dba4e9c2526e309 | |
parent | 93b458858f6d40650513f63feef0b350eff4845f [diff] |
[ARM] S3C: BUG_ON() if clock has already been registered Add a simple check when registering a clock on whether the clock has already been added to the list. Any attempt to re-register a clock will cause the clock list to be come looped and thus produces silent failures when looking up clocks. Signed-off-by: Ben Dooks <ben-linux@fluff.org>