Commit b5c49d49 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Mark Brown

ASoC: omap_mcpdm_remove cannot be __devexit

omap_mcpdm_remove is used from asoc_mcpdm_probe, which is an
initcall, and must not be discarded when HOTPLUG is disabled.
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 21d17dd2
...@@ -449,7 +449,7 @@ int __devinit omap_mcpdm_probe(struct platform_device *pdev) ...@@ -449,7 +449,7 @@ int __devinit omap_mcpdm_probe(struct platform_device *pdev)
return ret; return ret;
} }
int __devexit omap_mcpdm_remove(struct platform_device *pdev) int omap_mcpdm_remove(struct platform_device *pdev)
{ {
struct omap_mcpdm *mcpdm_ptr = platform_get_drvdata(pdev); struct omap_mcpdm *mcpdm_ptr = platform_get_drvdata(pdev);
......
...@@ -150,4 +150,4 @@ extern int omap_mcpdm_request(void); ...@@ -150,4 +150,4 @@ extern int omap_mcpdm_request(void);
extern void omap_mcpdm_free(void); extern void omap_mcpdm_free(void);
extern int omap_mcpdm_set_offset(int offset1, int offset2); extern int omap_mcpdm_set_offset(int offset1, int offset2);
int __devinit omap_mcpdm_probe(struct platform_device *pdev); int __devinit omap_mcpdm_probe(struct platform_device *pdev);
int __devexit omap_mcpdm_remove(struct platform_device *pdev); int omap_mcpdm_remove(struct platform_device *pdev);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment