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: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
Arnd Bergmann 2011-10-02 16:45:31 +02:00 committed by Mark Brown
parent 21d17dd2a3
commit b5c49d49b9
2 changed files with 2 additions and 2 deletions

View File

@ -449,7 +449,7 @@ exit:
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);

View File

@ -150,4 +150,4 @@ extern int omap_mcpdm_request(void);
extern void omap_mcpdm_free(void);
extern int omap_mcpdm_set_offset(int offset1, int offset2);
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);