From: Ben Dooks Date: Tue, 21 Oct 2008 13:07:10 +0000 (+0100) Subject: [ARM] S3C: BUG_ON() if clock has already been registered X-Git-Tag: v2.6.29-rc1~559^2~9^2~10^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cec444b79073e7d6ef35ced5ef63c3fd83d9b9a7;p=pandora-kernel.git [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 --- Reading git-diff-tree failed