ARM: shmobile: 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>
Thu, 6 Jun 2013 05:14:00 +0000 (14:14 +0900)
commit2482c589c3299c3c4aaf2f9c27e1759e972492a4
tree444ff542b0bec9229b42c92f5cb4578a30afa53e
parentc7788792a5e7b0d5d7f96d0766b4cb6112d47d75
ARM: shmobile: 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