aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/kernel/head-common.S
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2008-10-21 14:07:10 +0100
committerBen Dooks <ben-linux@fluff.org>2008-10-21 14:12:26 +0100
commita2febfae1062a083bb84750417bc34104638e7cc (patch)
treef855e584af7cfbd4ad2a4c0dbe3c08993ba3ca5d /arch/arm/kernel/head-common.S
parentdd280b291f280889c9e12108f7bc31aebe9ac44d (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>
Diffstat (limited to 'arch/arm/kernel/head-common.S')
0 files changed, 0 insertions, 0 deletions