summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-02-01 12:25:14 (GMT)
committerAl Viro <viro@zeniv.linux.org.uk>2006-02-08 01:58:39 (GMT)
commit1d0bd717c86949e97a11855482b4a118029c10a9 (patch)
tree4ac9a392cb3b1f60b6fd3746a36d356c6aa145ea /arch/powerpc/platforms
parentd04e4e115bd9df2b748cb30abd610f3c0eb1e303 (diff)
downloadlinux-fsl-qoriq-1d0bd717c86949e97a11855482b4a118029c10a9.tar.xz
[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 'arch/powerpc/platforms')
-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 535c802..87eb6bb 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);