cpc925_edac: Use proper array termination
authorJingoo Han <jg1.han@samsung.com>
Mon, 12 Aug 2013 02:54:57 +0000 (11:54 +0900)
committerBorislav Petkov <bp@suse.de>
Wed, 14 Aug 2013 10:46:46 +0000 (12:46 +0200)
The struct should be terminated by using empty braces in order to
fix the following sparse warning.

drivers/edac/cpc925_edac.c:792:10: warning: Using plain integer as NULL pointer

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
[ drop obvious comment ]
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/cpc925_edac.c

index 7f3c571..df6575f 100644 (file)
@@ -789,7 +789,7 @@ static struct cpc925_dev_info cpc925_devs[] = {
        .exit = cpc925_htlink_exit,
        .check = cpc925_htlink_check,
        },
-       {0}, /* Terminated by NULL */
+       { }
 };
 
 /*