aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/dcr.h
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-08-01 12:44:11 -0400
committerPaul Mackerras <paulus@samba.org>2008-08-03 23:18:17 -0400
commit9c4cb82515130c62224e23fdf7c13c8f6c59c614 (patch)
treef916fd843972502d918a1a03bdb99c9c2bbaa91c /arch/powerpc/include/asm/dcr.h
parentc7c8eede2739289df02a1ab297cc476c6f38dca7 (diff)
powerpc: Remove use of CONFIG_PPC_MERGE
Now that arch/ppc is gone and CONFIG_PPC_MERGE is always set, remove the dead code associated with !CONFIG_PPC_MERGE from arch/powerpc and include/asm-powerpc. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/include/asm/dcr.h')
-rw-r--r--arch/powerpc/include/asm/dcr.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/powerpc/include/asm/dcr.h b/arch/powerpc/include/asm/dcr.h
index 53b283050ab3..d13fb68bb5c0 100644
--- a/arch/powerpc/include/asm/dcr.h
+++ b/arch/powerpc/include/asm/dcr.h
@@ -65,17 +65,13 @@ typedef dcr_host_mmio_t dcr_host_t;
65#endif /* defined(CONFIG_PPC_DCR_NATIVE) && defined(CONFIG_PPC_DCR_MMIO) */ 65#endif /* defined(CONFIG_PPC_DCR_NATIVE) && defined(CONFIG_PPC_DCR_MMIO) */
66 66
67/* 67/*
68 * On CONFIG_PPC_MERGE, we have additional helpers to read the DCR 68 * additional helpers to read the DCR * base from the device-tree
69 * base from the device-tree
70 */ 69 */
71#ifdef CONFIG_PPC_MERGE
72struct device_node; 70struct device_node;
73extern unsigned int dcr_resource_start(struct device_node *np, 71extern unsigned int dcr_resource_start(struct device_node *np,
74 unsigned int index); 72 unsigned int index);
75extern unsigned int dcr_resource_len(struct device_node *np, 73extern unsigned int dcr_resource_len(struct device_node *np,
76 unsigned int index); 74 unsigned int index);
77#endif /* CONFIG_PPC_MERGE */
78
79#endif /* CONFIG_PPC_DCR */ 75#endif /* CONFIG_PPC_DCR */
80#endif /* __ASSEMBLY__ */ 76#endif /* __ASSEMBLY__ */
81#endif /* __KERNEL__ */ 77#endif /* __KERNEL__ */