aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powermac/low_i2c.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-02-01 07:25:14 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2006-02-07 20:58:39 -0500
commit1d0bd717c86949e97a11855482b4a118029c10a9 (patch)
tree4ac9a392cb3b1f60b6fd3746a36d356c6aa145ea /arch/powerpc/platforms/powermac/low_i2c.c
parent[PATCH] eeh_driver NULL noise removal (diff)
downloadlinux-dev-1d0bd717c86949e97a11855482b4a118029c10a9.tar.xz
linux-dev-1d0bd717c86949e97a11855482b4a118029c10a9.zip
[PATCH] bogus extern in low_i2c.c
extern in function definition is an odd thing.. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to '')
-rw-r--r--arch/powerpc/platforms/powermac/low_i2c.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/powermac/low_i2c.c b/arch/powerpc/platforms/powermac/low_i2c.c
index 535c802b369f..87eb6bb7f0e7 100644
--- a/arch/powerpc/platforms/powermac/low_i2c.c
+++ b/arch/powerpc/platforms/powermac/low_i2c.c
@@ -1052,8 +1052,7 @@ struct pmac_i2c_bus *pmac_i2c_adapter_to_bus(struct i2c_adapter *adapter)
}
EXPORT_SYMBOL_GPL(pmac_i2c_adapter_to_bus);
-extern int pmac_i2c_match_adapter(struct device_node *dev,
- struct i2c_adapter *adapter)
+int pmac_i2c_match_adapter(struct device_node *dev, struct i2c_adapter *adapter)
{
struct pmac_i2c_bus *bus = pmac_i2c_find_bus(dev);