Commit d8453403 authored by Feng Kan's avatar Feng Kan Committed by Wolfram Sang

i2c: busses: xgene-slimpro: fix incorrect __init declation for probe

Fix section mismatch error during kernel build for xgene_slimpro_i2c_probe
function. It was incorrectly defined with __init declaration.
Signed-off-by: default avatarFeng Kan <fkan@apm.com>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 41c8d452
......@@ -377,7 +377,7 @@ static struct i2c_algorithm xgene_slimpro_i2c_algorithm = {
.functionality = xgene_slimpro_i2c_func,
};
static int __init xgene_slimpro_i2c_probe(struct platform_device *pdev)
static int xgene_slimpro_i2c_probe(struct platform_device *pdev)
{
struct slimpro_i2c_dev *ctx;
struct i2c_adapter *adapter;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment