ASoC: txx9: Add __exit_p at necessary place
PATCH 1/1 ASoC: txx9: Add __exit_p at necessary place
We have __exit annotation for txx9aclc_generic_remove(), thus add __devexit_p to wrap it.
Signed-off-by Axel Lin <[email protected]>
--- sound/soc/txx9/txx9aclc-generic.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/txx9/txx9aclc-generic.c +1 -1
@@ -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 ,
Signature · 1 line
1.7.4.1
Mark Brown
AppliedQuoted 2 lines · Axel Lin
We have
__exitannotation fortxx9aclc_generic_remove(), thus add__devexit_pto wrap it.
Applied, thanks.