projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41c8d45
)
i2c: busses: xgene-slimpro: fix incorrect __init declation for probe
author
Feng Kan
<fkan@apm.com>
Tue, 2 Jun 2015 23:43:09 +0000
(16:43 -0700)
committer
Wolfram Sang
<wsa@the-dreams.de>
Wed, 10 Jun 2015 13:17:34 +0000
(22:17 +0900)
Fix section mismatch error during kernel build for xgene_slimpro_i2c_probe
function. It was incorrectly defined with __init declaration.
Signed-off-by: Feng Kan <fkan@apm.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-xgene-slimpro.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/i2c/busses/i2c-xgene-slimpro.c
b/drivers/i2c/busses/i2c-xgene-slimpro.c
index 0b33aa2e6730ab45d43ea10d87284ab588d895e9..dcca7076231eda0d458916963d6f61eaf7ebfacb 100644
(file)
--- a/
drivers/i2c/busses/i2c-xgene-slimpro.c
+++ b/
drivers/i2c/busses/i2c-xgene-slimpro.c
@@
-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;
This page took
0.028151 seconds
and
5
git commands to generate.