소스 검색

[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
3개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      arch/ppc/platforms/4xx/virtex-ii_pro.h
  2. 0 0
      arch/ppc/platforms/4xx/xparameters/xparameters.h
  3. 1 1
      arch/ppc/syslib/xilinx_pic.c

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

@@ -16,7 +16,7 @@
 #define __ASM_VIRTEXIIPRO_H__
 
 #include <linux/config.h>
-#include <asm/xparameters.h>
+#include <platforms/4xx/xparameters/xparameters.h>
 
 /* 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/irq.h>
 #include <asm/io.h>
-#include <asm/xparameters.h>
+#include <platforms/4xx/xparameters/xparameters.h>
 #include <asm/ibm4xx.h>
 #include <asm/machdep.h>