diff options
author | Linas Vepstas <linas@linas.org> | 2005-11-03 19:54:29 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-01-09 23:29:33 -0500 |
commit | 9fb40eb883ad2d22ad6975b4323cb76e018fa280 (patch) | |
tree | c8f1f1a8e87b65cf69a01842eeb1efd52588d8e4 /include/asm-powerpc | |
parent | f751f84164bec4f38037b221a194c54d96c73d06 (diff) |
[PATCH] powerpc: Remove duplicate code
234-eeh-find-pe.patch
The find_device_pe() routine is duplicated in two files. Remove one of
the two copies, declare the other extern.
Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
(cherry picked from 48408e708282d4d0269136ff27ea5acbd9410b5a commit)
Diffstat (limited to 'include/asm-powerpc')
-rw-r--r-- | include/asm-powerpc/ppc-pci.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-powerpc/ppc-pci.h b/include/asm-powerpc/ppc-pci.h index 79239a200f18..4820b368bf15 100644 --- a/include/asm-powerpc/ppc-pci.h +++ b/include/asm-powerpc/ppc-pci.h | |||
@@ -109,6 +109,9 @@ int rtas_write_config(struct pci_dn *, int where, int size, u32 val); | |||
109 | void eeh_mark_slot (struct device_node *dn, int mode_flag); | 109 | void eeh_mark_slot (struct device_node *dn, int mode_flag); |
110 | void eeh_clear_slot (struct device_node *dn, int mode_flag); | 110 | void eeh_clear_slot (struct device_node *dn, int mode_flag); |
111 | 111 | ||
112 | /* Find the associated "Partiationable Endpoint" PE */ | ||
113 | struct device_node * find_device_pe(struct device_node *dn); | ||
114 | |||
112 | #endif | 115 | #endif |
113 | 116 | ||
114 | #endif /* __KERNEL__ */ | 117 | #endif /* __KERNEL__ */ |