ARM: OMAP: AM33XX: Fix up header inclusion for baseport patches
authorVaibhav Bedia <vaibhav.bedia@ti.com>
Tue, 17 Jan 2012 05:33:31 +0000 (11:03 +0530)
committerVaibhav Hiremath <hvaibhav@ti.com>
Mon, 23 Jan 2012 19:14:54 +0000 (00:44 +0530)
cm33xx.h does not need to include any of the kernel headers
and hence remove them.

cminst33xx.c needs to explicitly include common.h to avoid
build breakage

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
arch/arm/mach-omap2/cm33xx.h
arch/arm/mach-omap2/cminst33xx.c

index 82d15d6484926955429ce0654c07fbf2c872250c..943dc8093baafb42f468fc4daea4f2bac7f2f648 100644 (file)
 #ifndef __ARCH_ARM_MACH_OMAP2_CM_33XX_H
 #define __ARCH_ARM_MACH_OMAP2_CM_33XX_H
 
-#include <linux/delay.h>
-#include <linux/errno.h>
-#include <linux/err.h>
-#include <linux/io.h>
-
-#include "common.h"
-
-#include "cm.h"
-#include "cm-regbits-33xx.h"
-#include "cm33xx.h"
-
 /* CM base address */
 #define AM33XX_CM_BASE         0x44e00000
 
index e5343502b31b3cfe7fb34bfb144d6ed47fad4d53..ce8a054c28afa7925b5319710e8078ee32f91e55 100644 (file)
@@ -24,6 +24,7 @@
 #include "cminst33xx.h"
 #include "cm-regbits-34xx.h"
 #include "cm-regbits-33xx.h"
+#include "common.h"
 #include "prm33xx.h"
 
 /*