From: Paul Walmsley Date: Tue, 8 Dec 2009 23:29:38 +0000 (-0700) Subject: OMAP1 clock: convert mach-omap1/clock.h to mach-omap1/clock_data.c X-Git-Tag: v2.6.33-rc1~295^2~1^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52650505fbf3a6ab851c801f54e73e76c55ab8da;p=pandora-kernel.git OMAP1 clock: convert mach-omap1/clock.h to mach-omap1/clock_data.c The OMAP1 clock code currently #includes a large .h file full of static data structures. Instead, define the data in a .c file. Russell King proposed this new arrangement: http://marc.info/?l=linux-omap&m=125967425908895&w=2 This patch also deals with most of the flagrant checkpatch violations. While here, separate the mpu_rate data structures out into their own files, opp.h and opp_data.c. In the long run, these mpu_rate tables should be replaced with OPP code. Also includes a patch from Felipe Balbi to mark omap1_clk_functions as __initdata to avoid a section warning: http://patchwork.kernel.org/patch/64366/ Signed-off-by: Paul Walmsley Cc: Russell King Cc: Felipe Balbi Cc: Nishanth Menon --- Reading git-diff-tree failed