mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 16:29:59 +00:00
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
2 changed files with 2 additions and 2 deletions
|
@ -449,7 +449,7 @@ int __devinit omap_mcpdm_probe(struct platform_device *pdev)
|
|||
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 a new issue