]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
OMAP: smartreflex: move plat/smartreflex.h to mach-omap2/smartreflex.h
authorPaul Walmsley <paul@pwsan.com>
Fri, 25 Feb 2011 22:54:33 +0000 (15:54 -0700)
committerPaul Walmsley <paul@pwsan.com>
Tue, 8 Mar 2011 03:05:08 +0000 (20:05 -0700)
There's no reason for this header file to be in
plat-omap/include/plat/smartreflex.h.  The hardware devices are in
OMAP2+ SoCs only.  Leaving this header file in plat-omap causes
problems due to cross-dependencies with other header files that should
live in mach-omap2/.

Thanks to Benoît Cousson <b-cousson@ti.com> for suggesting the removal
of the smartreflex.h include from the OMAP3xxx hwmod data.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Benoît Cousson <b-cousson@ti.com>
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
arch/arm/mach-omap2/smartreflex-class3.c
arch/arm/mach-omap2/smartreflex.c
arch/arm/mach-omap2/smartreflex.h [moved from arch/arm/plat-omap/include/plat/smartreflex.h with 100% similarity]
arch/arm/mach-omap2/sr_device.c

index e9d001228568f1f59c5e66b43b8aaff5c7f46783..8de2de97c2a18359042f45d775cb9f8d3274e44c 100644 (file)
@@ -22,7 +22,6 @@
 #include <plat/l4_3xxx.h>
 #include <plat/i2c.h>
 #include <plat/gpio.h>
-#include <plat/smartreflex.h>
 #include <plat/mcspi.h>
 
 #include "omap_hwmod_common_data.h"
index 60e70552b4c5efddd03b734cd99a67155e3ee326..f438cf4d847b7f093c70d14619d07d630529b932 100644 (file)
@@ -11,7 +11,7 @@
  * published by the Free Software Foundation.
  */
 
-#include <plat/smartreflex.h>
+#include "smartreflex.h"
 
 static int sr_class3_enable(struct voltagedomain *voltdm)
 {
index c37e823266d352cde6e0914d9654e89dfb70f2cf..077dfb6fd8fbe6f85f9118adedf44c0d3ffd2040 100644 (file)
@@ -26,9 +26,9 @@
 #include <linux/pm_runtime.h>
 
 #include <plat/common.h>
-#include <plat/smartreflex.h>
 
 #include "pm.h"
+#include "smartreflex.h"
 
 #define SMARTREFLEX_NAME_LEN   16
 #define NVALUE_NAME_LEN                40
index b1e0af18a26a06a6e75924d6cfc5dbcabadf8d8c..a636604961bca48efae90dd97f5b7c800af53f42 100644 (file)
@@ -23,9 +23,9 @@
 #include <linux/io.h>
 
 #include <plat/omap_device.h>
-#include <plat/smartreflex.h>
 #include <plat/voltage.h>
 
+#include "smartreflex.h"
 #include "control.h"
 #include "pm.h"