Browse Source

platform.h is rt288x specific, move it

SVN-Revision: 17443
Gabor Juhos 16 years ago
parent
commit
9eaea39ae5

+ 1 - 1
target/linux/ramips/files/arch/mips/ralink/rt288x/Makefile

@@ -8,7 +8,7 @@
 # under the terms of the GNU General Public License version 2 as published
 # under the terms of the GNU General Public License version 2 as published
 # by the Free Software Foundation.
 # by the Free Software Foundation.
 
 
-obj-y	:= prom.o irq.o setup.o rt288x.o platform.o
+obj-y	:= prom.o irq.o setup.o rt288x.o devices.o
 
 
 obj-$(CONFIG_EARLY_PRINTK)		+= early_printk.o
 obj-$(CONFIG_EARLY_PRINTK)		+= early_printk.o
 
 

+ 2 - 1
target/linux/ramips/files/arch/mips/ralink/rt288x/platform.c → target/linux/ramips/files/arch/mips/ralink/rt288x/devices.c

@@ -18,7 +18,8 @@
 
 
 #include <asm/mach-ralink/rt288x.h>
 #include <asm/mach-ralink/rt288x.h>
 #include <asm/mach-ralink/rt288x_regs.h>
 #include <asm/mach-ralink/rt288x_regs.h>
-#include <asm/mach-ralink/platform.h>
+
+#include "devices.h"
 
 
 static struct resource rt288x_flash0_resources[] = {
 static struct resource rt288x_flash0_resources[] = {
 	{
 	{

+ 0 - 0
target/linux/ramips/files/arch/mips/include/asm/mach-ralink/platform.h → target/linux/ramips/files/arch/mips/ralink/rt288x/devices.h