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

Commit 7b0c3d69 authored by Boris Brezillon's avatar Boris Brezillon Committed by Herbert Xu
Browse files

crypto: marvell - Add a platform_device_id table



Add a platform_device_id table to allow using this driver on orion
platforms that have not been converted to DT.

Signed-off-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 7aacbfcb
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -597,9 +597,15 @@ static int mv_cesa_remove(struct platform_device *pdev)
	return 0;
	return 0;
}
}


static const struct platform_device_id mv_cesa_plat_id_table[] = {
	{ .name = "mv_crypto" },
};
MODULE_DEVICE_TABLE(platform, mv_cesa_plat_id_table);

static struct platform_driver marvell_cesa = {
static struct platform_driver marvell_cesa = {
	.probe		= mv_cesa_probe,
	.probe		= mv_cesa_probe,
	.remove		= mv_cesa_remove,
	.remove		= mv_cesa_remove,
	.id_table	= mv_cesa_plat_id_table,
	.driver		= {
	.driver		= {
		.name	= "marvell-cesa",
		.name	= "marvell-cesa",
		.of_match_table = mv_cesa_of_match_table,
		.of_match_table = mv_cesa_of_match_table,