浏览代码

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 年之前
父节点
当前提交
6361ad4b59
共有 1 个文件被更改,包括 3 次插入0 次删除
  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)