mirror of https://gitee.com/openkylin/linux.git
[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>
This commit is contained in:
parent
d04e4e115b
commit
1d0bd717c8
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue