From: Grant C. Likely Date: Thu, 19 Jan 2006 08:12:32 +0000 (-0700) Subject: [PATCH] powerpc: Move xparameters.h into xilinx virtex device specific path X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b4367e7451f19a3ae8b453e8b7ac0a1fdd9bca04;p=linux-beck.git [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 Signed-off-by: Paul Mackerras --- diff --git a/arch/ppc/platforms/4xx/virtex-ii_pro.h b/arch/ppc/platforms/4xx/virtex-ii_pro.h index 9014c4887339..026130c8e72a 100644 --- a/arch/ppc/platforms/4xx/virtex-ii_pro.h +++ b/arch/ppc/platforms/4xx/virtex-ii_pro.h @@ -16,7 +16,7 @@ #define __ASM_VIRTEXIIPRO_H__ #include -#include +#include /* serial defines */ diff --git a/include/asm-ppc/xparameters.h b/arch/ppc/platforms/4xx/xparameters/xparameters.h similarity index 100% rename from include/asm-ppc/xparameters.h rename to arch/ppc/platforms/4xx/xparameters/xparameters.h diff --git a/arch/ppc/syslib/xilinx_pic.c b/arch/ppc/syslib/xilinx_pic.c index 47f04c71fe9c..848fb512f3f8 100644 --- a/arch/ppc/syslib/xilinx_pic.c +++ b/arch/ppc/syslib/xilinx_pic.c @@ -15,7 +15,7 @@ #include #include #include -#include +#include #include #include