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 410a03c..c983f86 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 = {