Browse Source

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 <matvejchikov@gmail.com>
Matvejchikov Ilya 16 years ago
parent
commit
6361ad4b59
1 changed files with 3 additions and 0 deletions
  1. 3 0
      include/asm-ppc/global_data.h

+ 3 - 0
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)