提交 e1d6f472 编写于 作者: P Paul Walmsley

OMAP: voltage: move plat/voltage.h to mach-omap2/voltage.h

At this point in time, there's no reason for this header file to be in
plat-omap/include/plat/voltage.h.  It should not be included by device
drivers, and the code that uses it is currently all under mach-omap2/.
Signed-off-by: NPaul Walmsley <paul@pwsan.com>
上级 7328ff4d
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/i2c/twl.h> #include <linux/i2c/twl.h>
#include <plat/voltage.h> #include "voltage.h"
#include "pm.h" #include "pm.h"
......
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
#include <plat/omap-pm.h> #include <plat/omap-pm.h>
#include <plat/omap_device.h> #include <plat/omap_device.h>
#include <plat/common.h> #include <plat/common.h>
#include <plat/voltage.h>
#include "voltage.h"
#include "powerdomain.h" #include "powerdomain.h"
#include "clockdomain.h" #include "clockdomain.h"
#include "pm.h" #include "pm.h"
......
...@@ -21,7 +21,8 @@ ...@@ -21,7 +21,8 @@
#define __ASM_ARM_OMAP_SMARTREFLEX_H #define __ASM_ARM_OMAP_SMARTREFLEX_H
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <plat/voltage.h>
#include "voltage.h"
/* /*
* Different Smartreflex IPs version. The v1 is the 65nm version used in * Different Smartreflex IPs version. The v1 is the 65nm version used in
......
...@@ -23,9 +23,9 @@ ...@@ -23,9 +23,9 @@
#include <linux/io.h> #include <linux/io.h>
#include <plat/omap_device.h> #include <plat/omap_device.h>
#include <plat/voltage.h>
#include "smartreflex.h" #include "smartreflex.h"
#include "voltage.h"
#include "control.h" #include "control.h"
#include "pm.h" #include "pm.h"
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <plat/common.h> #include <plat/common.h>
#include <plat/voltage.h>
#include "prm-regbits-34xx.h" #include "prm-regbits-34xx.h"
#include "prm-regbits-44xx.h" #include "prm-regbits-44xx.h"
...@@ -35,6 +34,8 @@ ...@@ -35,6 +34,8 @@
#include "prminst44xx.h" #include "prminst44xx.h"
#include "control.h" #include "control.h"
#include "voltage.h"
#define VP_IDLE_TIMEOUT 200 #define VP_IDLE_TIMEOUT 200
#define VP_TRANXDONE_TIMEOUT 300 #define VP_TRANXDONE_TIMEOUT 300
#define VOLTAGE_DIR_SIZE 16 #define VOLTAGE_DIR_SIZE 16
......
...@@ -34,7 +34,6 @@ ...@@ -34,7 +34,6 @@
#include <linux/ioport.h> #include <linux/ioport.h>
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include <plat/cpu.h> #include <plat/cpu.h>
#include <plat/voltage.h>
struct omap_device; struct omap_device;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册