msm: clock: Remove 7x30 and pcom includes from clock.h
authorStephen Boyd <sboyd@codeaurora.org>
Thu, 27 Jan 2011 00:20:53 +0000 (16:20 -0800)
committerDavid Brown <davidb@codeaurora.org>
Fri, 28 Jan 2011 19:20:47 +0000 (11:20 -0800)
clock.h includes clock-pcom.h and clock-7x30.h when it really
doesn't need to. Remove the includes and fixup breakages.

Reviewed-By: Saravana Kannan <skannan@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
arch/arm/mach-msm/clock-pcom.c
arch/arm/mach-msm/clock.c
arch/arm/mach-msm/clock.h
arch/arm/mach-msm/devices-msm7x00.c
arch/arm/mach-msm/devices-msm7x30.c
arch/arm/mach-msm/devices-qsd8x50.c

index a3b45627eb4aa4cb57530c29601436f51746f97d..8c4e86725013b0955b617bb3e34a52194844a9aa 100644 (file)
@@ -20,6 +20,7 @@
 
 #include "proc_comm.h"
 #include "clock.h"
+#include "clock-pcom.h"
 
 /*
  * glue for the proc_comm interface
index b67498dfa8d906ecfbe360295e08f21830255caa..8f71f8d9fa98d4928026cd16f1137726ef946b97 100644 (file)
@@ -29,6 +29,7 @@
 #include "clock.h"
 #include "proc_comm.h"
 #include "clock-7x30.h"
+#include "clock-pcom.h"
 
 static DEFINE_MUTEX(clocks_mutex);
 static DEFINE_SPINLOCK(clocks_lock);
index db9a77a0f9e21a790e097a09285966bf6dc81773..6a0cadeabb9d409da3abaa28b6e7cf8847e1099b 100644 (file)
@@ -20,9 +20,6 @@
 #include <linux/list.h>
 #include <mach/clk.h>
 
-#include "clock-pcom.h"
-#include "clock-7x30.h"
-
 #define CLKFLAG_INVERT                 0x00000001
 #define CLKFLAG_NOINVERT               0x00000002
 #define CLKFLAG_NONEST                 0x00000004
index fb548a8a21dbb907aa04b9bc7b4e4a78b58d47f6..0a47678143f6b71aa5d55d8711ba38d36ef92cc4 100644 (file)
@@ -26,6 +26,7 @@
 
 
 #include "clock.h"
+#include "clock-pcom.h"
 #include <mach/mmc.h>
 
 static struct resource resources_uart1[] = {
index 4e9a0ab3e93777044d257e33137f515a9b8e093b..5dc64afd9ae075578a42c3714cb8e061092f259f 100644 (file)
@@ -28,6 +28,7 @@
 #include <asm/mach/flash.h>
 
 #include "clock-pcom.h"
+#include "clock-7x30.h"
 
 #include <mach/mmc.h>
 
index a4b798f20ccb777f708b20e9dd43a72fe11ea4fc..c08e48e65f06c9c26cc5e0c3f1ba23765a10710b 100644 (file)
@@ -27,6 +27,7 @@
 #include <asm/mach/flash.h>
 
 #include <mach/mmc.h>
+#include "clock-pcom.h"
 
 static struct resource resources_uart3[] = {
        {