From: Matvejchikov Ilya Date: Wed, 30 Jul 2008 19:20:32 +0000 (+0400) Subject: PPC: Add pci_clk in the global_data for CPM2 processors X-Git-Tag: v2008.10-rc1~177^2~16^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6361ad4b596f5a940a01c91ae0297d98f790cbe0;p=platform%2Fkernel%2Fu-boot.git PPC: Add pci_clk in the global_data for CPM2 processors This patch adds pci_clk field to the global_data structure for the processors which have CPM2 module in case the CONFIG_PCI is defined. Signed-off-by: Matvejchikov Ilya --- diff --git a/include/asm-ppc/global_data.h b/include/asm-ppc/global_data.h index c5ac658..be2ce24 100644 --- a/include/asm-ppc/global_data.h +++ b/include/asm-ppc/global_data.h @@ -51,6 +51,9 @@ typedef struct global_data { unsigned long cpm_clk; unsigned long scc_clk; unsigned long brg_clk; +#ifdef CONFIG_PCI + unsigned long pci_clk; +#endif #endif unsigned long mem_clk; #if defined(CONFIG_MPC83XX)