Skip to content

Commit

Permalink
ASoC: txx9: Add __exit_p at necessary place
Browse files Browse the repository at this point in the history
We have __exit annotation for txx9aclc_generic_remove(),
thus add __devexit_p to wrap it.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Axel Lin authored and Mark Brown committed Oct 3, 2011
1 parent 1c6927f commit f6a74ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/txx9/txx9aclc-generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ static int __exit txx9aclc_generic_remove(struct platform_device *pdev)
}

static struct platform_driver txx9aclc_generic_driver = {
.remove = txx9aclc_generic_remove,
.remove = __exit_p(txx9aclc_generic_remove),
.driver = {
.name = "txx9aclc-generic",
.owner = THIS_MODULE,
Expand Down

0 comments on commit f6a74ce

Please sign in to comment.