]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: sh-mobile: r8a7740: Make private clock arrays static
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 16 Apr 2013 15:16:19 +0000 (17:16 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 22 May 2013 12:44:25 +0000 (21:44 +0900)
commit0c4572215e479c0540655fde84bc2f8802cb44ea
treefd4b21940bd7699192f9d06230d329304ca54015
parent0af3f17e1ed78086b0ae057675aee9d0762350b5
ARM: sh-mobile: r8a7740: Make private clock arrays static

Both clock-r8a7740.c and clock-r8a7790.c define a div4_clks array as
non-static. Compiling support for both SoCs thus result in a symbol
redefinition. Fix it by defining the arrays as static.

To avoid further similar issues, also define the main_clks as static.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/clock-r8a7740.c