aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/dcr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc/dcr.h')
-rw-r--r--include/asm-powerpc/dcr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-powerpc/dcr.h b/include/asm-powerpc/dcr.h
index 473f2c7fd892..9338d50538f1 100644
--- a/include/asm-powerpc/dcr.h
+++ b/include/asm-powerpc/dcr.h
@@ -20,6 +20,7 @@
20#ifndef _ASM_POWERPC_DCR_H 20#ifndef _ASM_POWERPC_DCR_H
21#define _ASM_POWERPC_DCR_H 21#define _ASM_POWERPC_DCR_H
22#ifdef __KERNEL__ 22#ifdef __KERNEL__
23#ifdef CONFIG_PPC_DCR
23 24
24#ifdef CONFIG_PPC_DCR_NATIVE 25#ifdef CONFIG_PPC_DCR_NATIVE
25#include <asm/dcr-native.h> 26#include <asm/dcr-native.h>
@@ -32,11 +33,13 @@
32 * base from the device-tree 33 * base from the device-tree
33 */ 34 */
34#ifdef CONFIG_PPC_MERGE 35#ifdef CONFIG_PPC_MERGE
36struct device_node;
35extern unsigned int dcr_resource_start(struct device_node *np, 37extern unsigned int dcr_resource_start(struct device_node *np,
36 unsigned int index); 38 unsigned int index);
37extern unsigned int dcr_resource_len(struct device_node *np, 39extern unsigned int dcr_resource_len(struct device_node *np,
38 unsigned int index); 40 unsigned int index);
39#endif /* CONFIG_PPC_MERGE */ 41#endif /* CONFIG_PPC_MERGE */
40 42
43#endif /* CONFIG_PPC_DCR */
41#endif /* __KERNEL__ */ 44#endif /* __KERNEL__ */
42#endif /* _ASM_POWERPC_DCR_H */ 45#endif /* _ASM_POWERPC_DCR_H */