]> git.karo-electronics.de Git - linux-beck.git/commitdiff
pl080.h: moved from arm/include/asm/hardware to include/linux/amba/
authorAlessandro Rubini <rubini@gnudd.com>
Sat, 24 Nov 2012 00:22:56 +0000 (00:22 +0000)
committerVinod Koul <vinod.koul@intel.com>
Sun, 13 Jan 2013 13:19:45 +0000 (05:19 -0800)
The header is used by drivers/dma/amba-pl08x.c, which can be compiled
under x86, where PL080 exists under a PCI-to-AMBA bridge. This patche
moves it where it can be accessed by other architectures, and fixes
all users.

Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Acked-by: Giancarlo Asnaghi <giancarlo.asnaghi@st.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
arch/arm/mach-s3c64xx/dma.c
arch/arm/mach-spear3xx/spear3xx.c
arch/arm/mach-spear6xx/spear6xx.c
drivers/dma/amba-pl08x.c
include/linux/amba/pl080.h [moved from arch/arm/include/asm/hardware/pl080.h with 99% similarity]

index f2a7a1725596787bad96e191d6e096dce2110f37..a77f5214bbe82bbde9b0d9dbb70ddb4823480552 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/clk.h>
 #include <linux/err.h>
 #include <linux/io.h>
+#include <linux/amba/pl080.h>
 
 #include <mach/dma.h>
 #include <mach/map.h>
@@ -30,7 +31,6 @@
 
 #include <mach/regs-sys.h>
 
-#include <asm/hardware/pl080.h>
 
 /* dma channel state information */
 
index 38fe95db31a70a69c241699edf2b5022be8d698a..3d9b1b5e8ed9a2126e7130c24fd51b0e1fdf2e88 100644 (file)
@@ -18,7 +18,6 @@
 #include <linux/irqchip/spear-shirq.h>
 #include <linux/of_irq.h>
 #include <linux/io.h>
-#include <asm/hardware/pl080.h>
 #include <asm/hardware/vic.h>
 #include <plat/pl080.h>
 #include <mach/generic.h>
index 5a5a52db252bf79d6d776c4a2cbdbbf330ba9e43..8ce65a23b06e2d139d4d1f182fd47c197b8fe63f 100644 (file)
@@ -20,7 +20,7 @@
 #include <linux/of_address.h>
 #include <linux/of_irq.h>
 #include <linux/of_platform.h>
-#include <asm/hardware/pl080.h>
+#include <linux/amba/pl080.h>
 #include <asm/hardware/vic.h>
 #include <asm/mach/arch.h>
 #include <asm/mach/time.h>
index 6eb6a5c210bb96f267bd498e9cb88e9e00eaec09..8bad254a498d7788530e97a5e5599ca90a2aefe1 100644 (file)
@@ -83,7 +83,7 @@
 #include <linux/pm_runtime.h>
 #include <linux/seq_file.h>
 #include <linux/slab.h>
-#include <asm/hardware/pl080.h>
+#include <linux/amba/pl080.h>
 
 #include "dmaengine.h"
 #include "virt-dma.h"
similarity index 99%
rename from arch/arm/include/asm/hardware/pl080.h
rename to include/linux/amba/pl080.h
index 4eea2107214b7374ec5af34bd5c5a5e9425e5a64..3e7b62fbefbd28cf7992089b0f6068a7b741e97d 100644 (file)
@@ -1,4 +1,4 @@
-/* arch/arm/include/asm/hardware/pl080.h
+/* include/linux/amba/pl080.h
  *
  * Copyright 2008 Openmoko, Inc.
  * Copyright 2008 Simtec Electronics