diff options
author | Linas Vepstas | 2005-11-04 01:54:29 +0100 |
---|---|---|
committer | Paul Mackerras | 2006-01-10 05:29:33 +0100 |
commit | 9fb40eb883ad2d22ad6975b4323cb76e018fa280 (patch) | |
tree | c8f1f1a8e87b65cf69a01842eeb1efd52588d8e4 /arch/powerpc/platforms/pseries/eeh.c | |
parent | [PATCH] powerpc: remove bogus printk (diff) | |
download | kernel-qcow2-linux-9fb40eb883ad2d22ad6975b4323cb76e018fa280.tar.gz kernel-qcow2-linux-9fb40eb883ad2d22ad6975b4323cb76e018fa280.tar.xz kernel-qcow2-linux-9fb40eb883ad2d22ad6975b4323cb76e018fa280.zip |
[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 'arch/powerpc/platforms/pseries/eeh.c')
-rw-r--r-- | arch/powerpc/platforms/pseries/eeh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/eeh.c b/arch/powerpc/platforms/pseries/eeh.c index be9814075254..d9662688c8b6 100644 --- a/arch/powerpc/platforms/pseries/eeh.c +++ b/arch/powerpc/platforms/pseries/eeh.c @@ -172,7 +172,7 @@ static inline unsigned long eeh_token_to_phys(unsigned long token) /** * Return the "partitionable endpoint" (pe) under which this device lies */ -static struct device_node * find_device_pe(struct device_node *dn) +struct device_node * find_device_pe(struct device_node *dn) { while ((dn->parent) && PCI_DN(dn->parent) && (PCI_DN(dn->parent)->eeh_mode & EEH_MODE_SUPPORTED)) { |