crypto: picoxcell - Add terminating entry for platform_device_id table
authorAxel Lin <axel.lin@ingics.com>
Sun, 4 Nov 2012 15:36:25 +0000 (23:36 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 9 Nov 2012 09:32:33 +0000 (17:32 +0800)
The platform_device_id table is supposed to be zero-terminated.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Jamie Iles <jamie@jamieiles.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/picoxcell_crypto.c

index 410a03c01ca434065efde5b70e1cf4261c0dd057..c983f869d2b7a58e0a7e7978e294dae6dd0cc5d4 100644 (file)
@@ -1863,6 +1863,7 @@ static int __devexit spacc_remove(struct platform_device *pdev)
 static const struct platform_device_id spacc_id_table[] = {
        { "picochip,spacc-ipsec", },
        { "picochip,spacc-l2", },
+       { }
 };
 
 static struct platform_driver spacc_driver = {