ARM: OMAP2+: Make debug-devices.h local
authorTony Lindgren <tony@atomide.com>
Thu, 20 Sep 2012 18:41:30 +0000 (11:41 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 20 Sep 2012 22:02:41 +0000 (15:02 -0700)
This can be local to mach-omap2.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-h4.c
arch/arm/mach-omap2/debug-devices.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/debug-devices.h [deleted file]

index 12569cb0eddd8ce24a59ad3cf46315cf39a001dc..f6c48dd764fe4ec60e26b60796b8383f74803a2a 100644 (file)
@@ -34,7 +34,7 @@
 #include <plat/menelaus.h>
 #include <plat/dma.h>
 #include <plat/gpmc.h>
-#include <plat/debug-devices.h>
+#include "debug-devices.h"
 
 #include <video/omapdss.h>
 #include <video/omap-panel-generic-dpi.h>
diff --git a/arch/arm/mach-omap2/debug-devices.h b/arch/arm/mach-omap2/debug-devices.h
new file mode 100644 (file)
index 0000000..a4edbd2
--- /dev/null
@@ -0,0 +1,9 @@
+#ifndef _OMAP_DEBUG_DEVICES_H
+#define _OMAP_DEBUG_DEVICES_H
+
+#include <linux/types.h>
+
+/* for TI reference platforms sharing the same debug card */
+extern int debug_card_init(u32 addr, unsigned gpio);
+
+#endif
diff --git a/arch/arm/plat-omap/include/plat/debug-devices.h b/arch/arm/plat-omap/include/plat/debug-devices.h
deleted file mode 100644 (file)
index a4edbd2..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#ifndef _OMAP_DEBUG_DEVICES_H
-#define _OMAP_DEBUG_DEVICES_H
-
-#include <linux/types.h>
-
-/* for TI reference platforms sharing the same debug card */
-extern int debug_card_init(u32 addr, unsigned gpio);
-
-#endif