浏览代码

[PATCH] powerpc: Move xparameters.h into xilinx virtex device specific path

xparameters should not be needed by anything but virtex platform code.
Move it from include/asm-ppc/ to platforms/4xx/xparameters/

This is preparing for work to remove xparameters from the dependancy tree
for most c files.  xparam changes should not cause a recompile of the world.
Instead, drivers should get device info from the platform bus (populated
by the boot code)

Signed-off-by: Grant C. Likely <grant.likely@secretlab.ca>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Grant C. Likely 19 年之前
父节点
当前提交
b4367e7451

+ 1 - 1
arch/ppc/platforms/4xx/virtex-ii_pro.h

@@ -16,7 +16,7 @@
 #define __ASM_VIRTEXIIPRO_H__
 #define __ASM_VIRTEXIIPRO_H__
 
 
 #include <linux/config.h>
 #include <linux/config.h>
-#include <asm/xparameters.h>
+#include <platforms/4xx/xparameters/xparameters.h>
 
 
 /* serial defines */
 /* serial defines */
 
 

+ 0 - 0
include/asm-ppc/xparameters.h → arch/ppc/platforms/4xx/xparameters/xparameters.h


+ 1 - 1
arch/ppc/syslib/xilinx_pic.c

@@ -15,7 +15,7 @@
 #include <linux/init.h>
 #include <linux/init.h>
 #include <linux/irq.h>
 #include <linux/irq.h>
 #include <asm/io.h>
 #include <asm/io.h>
-#include <asm/xparameters.h>
+#include <platforms/4xx/xparameters/xparameters.h>
 #include <asm/ibm4xx.h>
 #include <asm/ibm4xx.h>
 #include <asm/machdep.h>
 #include <asm/machdep.h>