ARM: OMAP2+: Make id.h local
authorTony Lindgren <tony@atomide.com>
Wed, 19 Sep 2012 17:33:40 +0000 (10:33 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 20 Sep 2012 22:02:22 +0000 (15:02 -0700)
This can be local to mach-omap2.

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

index fcd4ed0b84c3df5136692c11ed0ce0877c07f85e..7bb8056d43886dc541e2961eb2ba6f537dc5fc34 100644 (file)
@@ -32,7 +32,7 @@
 
 #include <linux/regulator/machine.h>
 #include <linux/i2c/twl.h>
-#include <mach/id.h>
+#include "id.h"
 #include <asm/mach-types.h>
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
index 6b98a178fbe03ff8d8327c690c2abad1c37cd1f0..cf2362ccb234cfe7f980fccfb34c3f7bc8bacf50 100644 (file)
@@ -23,7 +23,7 @@
 
 #include "common.h"
 
-#include <mach/id.h>
+#include "id.h"
 
 #include "soc.h"
 #include "control.h"
diff --git a/arch/arm/mach-omap2/id.h b/arch/arm/mach-omap2/id.h
new file mode 100644 (file)
index 0000000..02ed3aa
--- /dev/null
@@ -0,0 +1,22 @@
+/*
+ * OMAP2 CPU identification code
+ *
+ * Copyright (C) 2010 Kan-Ru Chen <kanru@0xlab.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+#ifndef OMAP2_ARCH_ID_H
+#define OMAP2_ARCH_ID_H
+
+struct omap_die_id {
+       u32 id_0;
+       u32 id_1;
+       u32 id_2;
+       u32 id_3;
+};
+
+void omap_get_die_id(struct omap_die_id *odi);
+
+#endif
diff --git a/arch/arm/mach-omap2/include/mach/id.h b/arch/arm/mach-omap2/include/mach/id.h
deleted file mode 100644 (file)
index 02ed3aa..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * OMAP2 CPU identification code
- *
- * Copyright (C) 2010 Kan-Ru Chen <kanru@0xlab.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
-#ifndef OMAP2_ARCH_ID_H
-#define OMAP2_ARCH_ID_H
-
-struct omap_die_id {
-       u32 id_0;
-       u32 id_1;
-       u32 id_2;
-       u32 id_3;
-};
-
-void omap_get_die_id(struct omap_die_id *odi);
-
-#endif