Browse Source

ARM: OMAP2+: Make sure files with omap initcalls include soc.h

Looks like there are few more places that I missed that can cause
compiler warnings. After grepping for omap initcall, all files
needing soc.h should now have it.

Reported-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
Tony Lindgren 12 years ago
parent
commit
dad2d9e666
2 changed files with 2 additions and 0 deletions
  1. 1 0
      arch/arm/mach-omap2/omap-iommu.c
  2. 1 0
      arch/arm/mach-omap2/smartreflex-class3.c

+ 1 - 0
arch/arm/mach-omap2/omap-iommu.c

@@ -16,6 +16,7 @@
 #include <linux/slab.h>
 
 #include <linux/platform_data/iommu-omap.h>
+#include "soc.h"
 #include "omap_hwmod.h"
 #include "omap_device.h"
 

+ 1 - 0
arch/arm/mach-omap2/smartreflex-class3.c

@@ -12,6 +12,7 @@
  */
 
 #include <linux/power/smartreflex.h>
+#include "soc.h"
 #include "voltage.h"
 
 static int sr_class3_enable(struct omap_sr *sr)