OMAP2+: clockdomain: move header file from plat-omap to mach-omap2 The OMAP clockdomain code and data is all OMAP2+-specific. This seems unlikely to change any time soon. Move plat-omap/include/plat/clockdomain.h to mach-omap2/clockdomain.h. The primary point of doing this is to remove the temptation for unrelated upper-layer code to access clockdomain code and data directly. DSPBridge also uses the clockdomain headers for some reason, so, modify it also. The DSPBridge code should not be including the clockdomain headers; these should be removed. Signed-off-by: Paul Walmsley <[email protected]> Cc: Kevin Hilman <[email protected]> Cc: Omar Ramirez Luna <[email protected]> Cc: Felipe Contreras <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Tested-by: Rajendra Nayak <[email protected]> Tested-by: Santosh Shilimkar <[email protected]>
diff --git a/arch/arm/mach-omap2/pm-debug.c b/arch/arm/mach-omap2/pm-debug.c index 1a4efb5..3f98989 100644 --- a/arch/arm/mach-omap2/pm-debug.c +++ b/arch/arm/mach-omap2/pm-debug.c
@@ -30,7 +30,7 @@ #include <plat/clock.h> #include <plat/board.h> #include <plat/powerdomain.h> -#include <plat/clockdomain.h> +#include "clockdomain.h" #include <plat/dmtimer.h> #include "cm2xxx_3xxx.h"