summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/512x/mpc512x.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-06-17 10:30:22 +0400
committerGrant Likely <grant.likely@secretlab.ca>2009-06-17 10:30:22 +0400
commit87c441e54dfcf9f45593ecaf68e7e18ea53d5e13 (patch)
tree6a986caab77412a90ffe8c5d8788bc1216b10ed8 /arch/powerpc/platforms/512x/mpc512x.h
parentc155ee10c212254e9cdfe7b3eab4e8c13990c231 (diff)
downloadlinux-87c441e54dfcf9f45593ecaf68e7e18ea53d5e13.tar.xz
powerpc/5xxx: Add common mpc5xxx_get_bus_frequency() function
So far, MPC512x used mpc512x_find_ips_freq() to get the bus frequency, while MPC52xx used mpc52xx_find_ipb_freq(). Despite the different clock names (IPS vs. IPB) the code was identical. Use common code for both processor families. Signed-off-by: Wolfgang Denk <wd@denx.de> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch/powerpc/platforms/512x/mpc512x.h')
-rw-r--r--arch/powerpc/platforms/512x/mpc512x.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/512x/mpc512x.h b/arch/powerpc/platforms/512x/mpc512x.h
index 9c03693cb009..22a5352407e0 100644
--- a/arch/powerpc/platforms/512x/mpc512x.h
+++ b/arch/powerpc/platforms/512x/mpc512x.h
@@ -11,7 +11,6 @@
#ifndef __MPC512X_H__
#define __MPC512X_H__
-extern unsigned long mpc512x_find_ips_freq(struct device_node *node);
extern void __init mpc512x_init_IRQ(void);
void __init mpc512x_declare_of_platform_devices(void);
#endif /* __MPC512X_H__ */