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:
parent
21d17dd2a3
commit
b5c49d49b9
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue