From: Boris Brezillon Subject: [PATCH] crypto: marvell - Add a NULL entry at the end of mv_cesa_plat_id_table[] Date: Fri, 3 Nov 2017 17:52:01 +0100 Message-ID: <20171103165201.18997-1-boris.brezillon@free-electrons.com> Cc: Thomas Petazzoni , Gregory CLEMENT , Jason Cooper , Sebastian Hesselbarth , Andrew Lunn , Boris Brezillon To: Herbert Xu , "David S. Miller" , linux-crypto@vger.kernel.org Return-path: Received: from mail.free-electrons.com ([62.4.15.54]:38264 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752426AbdKCQwS (ORCPT ); Fri, 3 Nov 2017 12:52:18 -0400 Sender: linux-crypto-owner@vger.kernel.org List-ID: 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 --- drivers/crypto/marvell/cesa.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/crypto/marvell/cesa.c b/drivers/crypto/marvell/cesa.c index 577dc6773fa0..6dabb261bac4 100644 --- a/drivers/crypto/marvell/cesa.c +++ b/drivers/crypto/marvell/cesa.c @@ -594,6 +594,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); -- 2.11.0