Skip to content

Commit

Permalink
regulator: lp3971 - fix driver link error when built-in.
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Liam Girdwood committed Jun 15, 2009
1 parent 0cbdf7b commit 6113c3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/regulator/lp3971.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down

0 comments on commit 6113c3a

Please sign in to comment.