m68k/UAPI: Move Apollo model definitions to <asm/bootinfo-apollo.h>
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 3 Oct 2013 09:31:08 +0000 (11:31 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 26 Nov 2013 10:09:18 +0000 (11:09 +0100)
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/include/asm/apollohw.h
arch/m68k/include/uapi/asm/bootinfo-apollo.h

index 6c19e0c..87fc899 100644 (file)
@@ -5,18 +5,11 @@
 
 #include <linux/types.h>
 
-/*
-   apollo models
-*/
+#include <asm/bootinfo-apollo.h>
+
 
 extern u_long apollo_model;
 
-#define APOLLO_UNKNOWN (0)
-#define APOLLO_DN3000 (1)
-#define APOLLO_DN3010 (2)
-#define APOLLO_DN3500 (3)
-#define APOLLO_DN4000 (4)
-#define APOLLO_DN4500 (5)
 
 /*
    see scn2681 data sheet for more info.
index 3a2051e..6992369 100644 (file)
 #define BI_APOLLO_MODEL                0x8000  /* model (u_long) */
 
 
+    /*
+     *  Apollo models (BI_APOLLO_MODEL)
+     */
+
+#define APOLLO_UNKNOWN         0
+#define APOLLO_DN3000          1
+#define APOLLO_DN3010          2
+#define APOLLO_DN3500          3
+#define APOLLO_DN4000          4
+#define APOLLO_DN4500          5
+
+
 #endif /* _UAPI_ASM_M68K_BOOTINFO_APOLLO_H */