]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: OMAP2+: Make sure files with omap initcalls include soc.h
authorTony Lindgren <tony@atomide.com>
Sun, 10 Feb 2013 03:20:57 +0000 (19:20 -0800)
committerOlof Johansson <olof@lixom.net>
Sun, 10 Feb 2013 04:26:31 +0000 (20:26 -0800)
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>
arch/arm/mach-omap2/omap-iommu.c
arch/arm/mach-omap2/smartreflex-class3.c

index dd8ce6d2f4ebbac4f35dae2a6bbe5f1acbbb7630..c20423955bf72a57da82e606ae3822a4a48f12fb 100644 (file)
@@ -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"
 
index 80f3acb266dc5fb261a92aff662e3049f3bf2e0c..aee3c8940a30ca19f6d7819b2cc654481bbd1fd5 100644 (file)
@@ -12,6 +12,7 @@
  */
 
 #include <linux/power/smartreflex.h>
+#include "soc.h"
 #include "voltage.h"
 
 static int sr_class3_enable(struct omap_sr *sr)