summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/marvell
diff options
context:
space:
mode:
authorBoris BREZILLON <boris.brezillon@free-electrons.com>2017-11-03 17:52:01 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2017-11-06 14:45:07 +0800
commit9c9034464860707669e91ce367c9eeb65e4175cd (patch)
tree78c59886edfd9995efe99f176389dcabc6d46a93 /drivers/crypto/marvell
parente5cc6e79bbe0b06d3ec56f5210bd4fc90bcf4d2b (diff)
downloadlinux-9c9034464860707669e91ce367c9eeb65e4175cd.tar.bz2
crypto: marvell - Add a NULL entry at the end of mv_cesa_plat_id_table[]
struct platform_device_id should be NULL terminated to let the core detect where the last entry is. Fixes: 07c50a8be41a ("crypto: marvell - Add a platform_device_id table") Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/marvell')
-rw-r--r--drivers/crypto/marvell/cesa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/marvell/cesa.c b/drivers/crypto/marvell/cesa.c
index 2c0d6bd94165..293832488cc9 100644
--- a/drivers/crypto/marvell/cesa.c
+++ b/drivers/crypto/marvell/cesa.c
@@ -591,6 +591,7 @@ static int mv_cesa_remove(struct platform_device *pdev)
static const struct platform_device_id mv_cesa_plat_id_table[] = {
{ .name = "mv_crypto" },
+ { /* sentinel */ },
};
MODULE_DEVICE_TABLE(platform, mv_cesa_plat_id_table);