diff options
author | Liam Girdwood <lrg@slimlogic.co.uk> | 2009-05-19 06:44:37 -0400 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2009-06-15 06:18:26 -0400 |
commit | 6113c3a5a63b8f0d5613b2a71cd1f5335a37b89a (patch) | |
tree | 26c97857e0e73ba8c0471834f713d007c6505866 | |
parent | 0cbdf7bce5b98807b946d1a96956f30dcae24a50 (diff) |
regulator: lp3971 - fix driver link error when built-in.
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>
-rw-r--r-- | drivers/regulator/lp3971.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/lp3971.c b/drivers/regulator/lp3971.c index 35abebea4ed5..a61018a27698 100644 --- a/drivers/regulator/lp3971.c +++ b/drivers/regulator/lp3971.c | |||
@@ -535,7 +535,7 @@ static struct i2c_driver lp3971_i2c_driver = { | |||
535 | .owner = THIS_MODULE, | 535 | .owner = THIS_MODULE, |
536 | }, | 536 | }, |
537 | .probe = lp3971_i2c_probe, | 537 | .probe = lp3971_i2c_probe, |
538 | .remove = lp3971_i2c_remove, | 538 | .remove = __devexit_p(lp3971_i2c_remove), |
539 | .id_table = lp3971_i2c_id, | 539 | .id_table = lp3971_i2c_id, |
540 | }; | 540 | }; |
541 | 541 | ||