]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: ep93xx: move private headers out of mach/*
authorArnd Bergmann <arnd@arndb.de>
Mon, 15 Apr 2019 20:17:12 +0000 (22:17 +0200)
committerOlof Johansson <olof@lixom.net>
Mon, 29 Apr 2019 06:08:44 +0000 (23:08 -0700)
gpio-ep93xx.h, hardware.h, and platform.h are only used in
arch/arm/mach-ep93xx, so we can move them one there and no
longer expose them to device drivers.

Acked-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Olof Johansson <olof@lixom.net>
14 files changed:
arch/arm/mach-ep93xx/adssphere.c
arch/arm/mach-ep93xx/clock.c
arch/arm/mach-ep93xx/core.c
arch/arm/mach-ep93xx/dma.c
arch/arm/mach-ep93xx/edb93xx.c
arch/arm/mach-ep93xx/gesbc9312.c
arch/arm/mach-ep93xx/gpio-ep93xx.h [moved from arch/arm/mach-ep93xx/include/mach/gpio-ep93xx.h with 100% similarity]
arch/arm/mach-ep93xx/hardware.h [moved from arch/arm/mach-ep93xx/include/mach/hardware.h with 96% similarity]
arch/arm/mach-ep93xx/micro9.c
arch/arm/mach-ep93xx/platform.h [moved from arch/arm/mach-ep93xx/include/mach/platform.h with 100% similarity]
arch/arm/mach-ep93xx/simone.c
arch/arm/mach-ep93xx/snappercl15.c
arch/arm/mach-ep93xx/ts72xx.c
arch/arm/mach-ep93xx/vision_ep9307.c

index bda6c3a5c923c4d27715a5862f77e0cb20939251..5d3a3e3020126d1ed8e35150c6975ffee9467abe 100644 (file)
@@ -15,7 +15,7 @@
 #include <linux/platform_device.h>
 #include <linux/sizes.h>
 
-#include <mach/hardware.h>
+#include "hardware.h"
 
 #include <asm/mach-types.h>
 #include <asm/mach/arch.h>
index 9f43362eb62d4b9e2c34ede21eedd0fb81d5499f..b9f523d9dc8cf18ad7ae8dd942039cfa1d1a6140 100644 (file)
@@ -22,7 +22,7 @@
 #include <linux/clkdev.h>
 #include <linux/soc/cirrus/ep93xx.h>
 
-#include <mach/hardware.h>
+#include "hardware.h"
 
 #include <asm/div64.h>
 
index 3d245668846dea4d4ffff5891b12a294edef72fb..cc1382f879afd6a21e2e074b99a040519483b73a 100644 (file)
 #include <linux/usb/ohci_pdriver.h>
 #include <linux/random.h>
 
-#include <mach/hardware.h>
+#include "hardware.h"
 #include <linux/platform_data/video-ep93xx.h>
 #include <linux/platform_data/keypad-ep93xx.h>
 #include <linux/platform_data/spi-ep93xx.h>
 #include <linux/soc/cirrus/ep93xx.h>
 
-#include <mach/gpio-ep93xx.h>
+#include "gpio-ep93xx.h"
 
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
@@ -125,7 +125,7 @@ void ep93xx_devcfg_set_clear(unsigned int set_bits, unsigned int clear_bits)
 /**
  * ep93xx_chip_revision() - returns the EP93xx chip revision
  *
- * See <mach/platform.h> for more information.
+ * See "platform.h" for more information.
  */
 unsigned int ep93xx_chip_revision(void)
 {
index 88a4c9b089a559c07d6d0d6c2e7159438d036351..821427107b11275a35fa36702ce23d4833b48837 100644 (file)
@@ -26,7 +26,7 @@
 #include <linux/platform_device.h>
 
 #include <linux/platform_data/dma-ep93xx.h>
-#include <mach/hardware.h>
+#include "hardware.h"
 
 #include "soc.h"
 
index 8e89ec8b6f0ff535eab78436c44f75fa92ff581e..d96dd014dd23c415742dd9d326b1e3b09825f50f 100644 (file)
 
 #include <sound/cs4271.h>
 
-#include <mach/hardware.h>
+#include "hardware.h"
 #include <linux/platform_data/video-ep93xx.h>
 #include <linux/platform_data/spi-ep93xx.h>
-#include <mach/gpio-ep93xx.h>
+#include "gpio-ep93xx.h"
 
 #include <asm/mach-types.h>
 #include <asm/mach/arch.h>
index 0cca5b1833093524d1c7468003bbae19c4f0c514..ac48e34765877b6dd340fad8dd0c5c1b8381f0fa 100644 (file)
@@ -15,7 +15,7 @@
 #include <linux/platform_device.h>
 #include <linux/sizes.h>
 
-#include <mach/hardware.h>
+#include "hardware.h"
 
 #include <asm/mach-types.h>
 #include <asm/mach/arch.h>
similarity index 96%
rename from arch/arm/mach-ep93xx/include/mach/hardware.h
rename to arch/arm/mach-ep93xx/hardware.h
index 8938906e780a466abace6c71c9983f38a8dda5a5..e7d850e04782df409e5f096ba775ebf441731cc3 100644 (file)
@@ -6,7 +6,7 @@
 #ifndef __ASM_ARCH_HARDWARE_H
 #define __ASM_ARCH_HARDWARE_H
 
-#include <mach/platform.h>
+#include "platform.h"
 
 /*
  * The EP93xx has two external crystal oscillators.  To generate the
index 373583c298255179d5b4f553d61dc9d38081e874..c7f64e4ff6c71374d0bb21c5b14e60ab0f44a083 100644 (file)
@@ -16,7 +16,7 @@
 #include <linux/platform_device.h>
 #include <linux/io.h>
 
-#include <mach/hardware.h>
+#include "hardware.h"
 
 #include <asm/mach-types.h>
 #include <asm/mach/arch.h>
index 80ccb984d521eccc7cff0e491cba65b67afbd522..adc17289cc23f7e9f0e509e120d235528f0b0525 100644 (file)
@@ -27,8 +27,8 @@
 #include <linux/gpio.h>
 #include <linux/gpio/machine.h>
 
-#include <mach/hardware.h>
-#include <mach/gpio-ep93xx.h>
+#include "hardware.h"
+#include "gpio-ep93xx.h"
 
 #include <asm/mach-types.h>
 #include <asm/mach/arch.h>
index cf0cb58b3454009d6d41fbf1c5d0431674dca5e9..f8f89551dbed460d6b7babdd1a73a0f054a11b02 100644 (file)
@@ -25,9 +25,9 @@
 
 #include <linux/mtd/platnand.h>
 
-#include <mach/hardware.h>
+#include "hardware.h"
 #include <linux/platform_data/video-ep93xx.h>
-#include <mach/gpio-ep93xx.h>
+#include "gpio-ep93xx.h"
 
 #include <asm/mach-types.h>
 #include <asm/mach/arch.h>
index 85b74ac943f010de744264e737b4c8d7f8f3f194..bba6aa5d71065daaa7ab877139b5a413655ed0f5 100644 (file)
@@ -23,8 +23,8 @@
 #include <linux/mmc/host.h>
 #include <linux/platform_data/spi-ep93xx.h>
 
-#include <mach/gpio-ep93xx.h>
-#include <mach/hardware.h>
+#include "gpio-ep93xx.h"
+#include "hardware.h"
 #include <mach/irqs.h>
 
 #include <asm/mach-types.h>
index 767ee64628dc352e3b6df6175a2a41918ad9ac04..66e2b34aa779c2486a3a58b9d9110dc671422f59 100644 (file)
 
 #include <sound/cs4271.h>
 
-#include <mach/hardware.h>
+#include "hardware.h"
 #include <linux/platform_data/video-ep93xx.h>
 #include <linux/platform_data/spi-ep93xx.h>
-#include <mach/gpio-ep93xx.h>
+#include "gpio-ep93xx.h"
 
 #include <asm/mach-types.h>
 #include <asm/mach/map.h>