From: Rajendra Nayak Date: Wed, 22 Dec 2010 03:01:17 +0000 (-0700) Subject: OMAP: powerdomain: Move static allocations from powerdomains.h to a .c file X-Git-Tag: v2.6.38-rc1~469^2~15^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74bea6b9881f4b32f6c0379e46d2f5e16fd34a07;p=pandora-kernel.git OMAP: powerdomain: Move static allocations from powerdomains.h to a .c file powerdomains.h header today has only static definitions. Adding any function declarations into it and including it in multiple source file is expected to cause issues. Hence move all the static definitions from powerdomains.h file into powerdomains_data.c file. Also, create a new powerdomain section of the mach-omap2/Makefile, and rearrange the prcm-common part of the Makefile, now that the powerdomain code is in its own Makefile section. Signed-off-by: Rajendra Nayak [paul@pwsan.com: rearrange Makefile changes, tweaked commit message] Signed-off-by: Paul Walmsley Reviewed-by: Kevin Hilman Tested-by: Kevin Hilman Tested-by: Santosh Shilimkar Tested-by: Rajendra Nayak --- Reading git-diff-tree failed