[ARM] omap: allow double-registering of clocks
commitdbb674d57b5851a4fe3122ff4280e4cf87209198
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Thu, 22 Jan 2009 16:08:04 +0000 (22 16:08 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 8 Feb 2009 17:50:12 +0000 (8 17:50 +0000)
tree9cb4c4fba2c6ce395308dc696a06082f2ea5183a
parent1e98ffa85e70f423e2e41156cc3d549c353cd897
[ARM] omap: allow double-registering of clocks

This stops things blowing up if a 'struct clk' to be passed more
than once to clk_register(), which will be required when we decouple
struct clk's from their names.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/plat-omap/clock.c