From: Paul Walmsley Date: Tue, 8 Dec 2009 23:21:29 +0000 (-0700) Subject: OMAP2 clock: convert clock24xx.h to clock2xxx_data.c, opp2xxx* X-Git-Tag: v2.6.33-rc1~295^2~1^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8a944582da1a4d29a1487ff7f435643505a12a0;p=pandora-kernel.git OMAP2 clock: convert clock24xx.h to clock2xxx_data.c, opp2xxx* The OMAP2 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 prcm_config data structures out into their own files, opp2xxx.h and opp24{2,3}0_data.c, and only build in the OPP tables for the target device. This should save some memory. In the long run, these prcm_config tables should be replaced with OPP code. Signed-off-by: Paul Walmsley Cc: Russell King Cc: Richard Woodruff Cc: Nishanth Menon --- Reading git-diff-tree failed