OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cbdf7b
)
regulator: lp3971 - fix driver link error when built-in.
author
Liam Girdwood
<lrg@slimlogic.co.uk>
Tue, 19 May 2009 10:44:37 +0000
(11:44 +0100)
committer
Liam Girdwood
<lrg@slimlogic.co.uk>
Mon, 15 Jun 2009 10:18:26 +0000
(11:18 +0100)
lp3971_i2c_remove' referenced in section `.data' of drivers/built-in.o:
defined in discarded section `.devexit.text' of drivers/built-in.o
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/lp3971.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/lp3971.c
b/drivers/regulator/lp3971.c
index
35abebe
..
a61018a
100644
(file)
--- a/
drivers/regulator/lp3971.c
+++ b/
drivers/regulator/lp3971.c
@@
-535,7
+535,7
@@
static struct i2c_driver lp3971_i2c_driver = {
.owner = THIS_MODULE,
},
.probe = lp3971_i2c_probe,
- .remove =
lp3971_i2c_remove
,
+ .remove =
__devexit_p(lp3971_i2c_remove)
,
.id_table = lp3971_i2c_id,
};