]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
x86: Move olpc to platform
authorThomas Gleixner <tglx@linutronix.de>
Sat, 23 Oct 2010 09:28:42 +0000 (11:28 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 27 Oct 2010 15:22:16 +0000 (17:22 +0200)
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Andres Salomon <dilinger@queued.net>
arch/x86/kernel/Makefile
arch/x86/platform/Makefile
arch/x86/platform/olpc/Makefile [new file with mode: 0644]
arch/x86/platform/olpc/olpc-xo1.c [moved from arch/x86/kernel/olpc-xo1.c with 100% similarity]
arch/x86/platform/olpc/olpc.c [moved from arch/x86/kernel/olpc.c with 100% similarity]
arch/x86/platform/olpc/olpc_ofw.c [moved from arch/x86/kernel/olpc_ofw.c with 100% similarity]

index 08e2e4bf83988be906a04a60d7ccf23e6b25dfc6..9e13763b609242e0c5429a364be461a7e8fc2594 100644 (file)
@@ -101,10 +101,6 @@ obj-$(CONFIG_PARAVIRT_CLOCK)       += pvclock.o
 
 obj-$(CONFIG_PCSPKR_PLATFORM)  += pcspeaker.o
 
-obj-$(CONFIG_OLPC)             += olpc.o
-obj-$(CONFIG_OLPC_XO1)         += olpc-xo1.o
-obj-$(CONFIG_OLPC_OPENFIRMWARE)        += olpc_ofw.o
-
 microcode-y                            := microcode_core.o
 microcode-$(CONFIG_MICROCODE_INTEL)    += microcode_intel.o
 microcode-$(CONFIG_MICROCODE_AMD)      += microcode_amd.o
index 8519b01f1acb335fff6983dc8e1bdf0c87333990..7bf70b812fa2a436ec8ce1bea270b05af2b2f487 100644 (file)
@@ -1,6 +1,7 @@
 # Platform specific code goes here
 obj-y  += efi/
 obj-y  += mrst/
+obj-y  += olpc/
 obj-y  += scx200/
 obj-y  += sfi/
 obj-y  += visws/
diff --git a/arch/x86/platform/olpc/Makefile b/arch/x86/platform/olpc/Makefile
new file mode 100644 (file)
index 0000000..c31b8fc
--- /dev/null
@@ -0,0 +1,3 @@
+obj-$(CONFIG_OLPC)             += olpc.o
+obj-$(CONFIG_OLPC_XO1)         += olpc-xo1.o
+obj-$(CONFIG_OLPC_OPENFIRMWARE)        += olpc_ofw.o