Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 20ea8fad authored by Mike Frysinger's avatar Mike Frysinger Committed by Linus Torvalds
Browse files

edac: add missing __devexit_p()



The remove function uses __devexit, so the .remove assignment needs
__devexit_p() to fix a build error with hotplug disabled.

Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
Cc: Doug Thompson <dougthompson@xmission.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 8f101a05
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -227,7 +227,7 @@ static struct platform_driver cell_edac_driver = {
		.owner	= THIS_MODULE,
		.owner	= THIS_MODULE,
	},
	},
	.probe		= cell_edac_probe,
	.probe		= cell_edac_probe,
	.remove		= cell_edac_remove,
	.remove		= __devexit_p(cell_edac_remove),
};
};


static int __init cell_edac_init(void)
static int __init cell_edac_init(void)